| Package | Description |
|---|---|
| com.casper.sdk | |
| com.casper.sdk.service.http.rpc | |
| com.casper.sdk.service.json.deserialize | |
| com.casper.sdk.types |
| Modifier and Type | Method and Description |
|---|---|
Deploy |
CasperSdk.deployFromJson(InputStream jsonStream)
Converts a JSON object to a
Deploy. |
Deploy |
CasperSdk.deployFromJson(String json)
Converts a JSON object to a
Deploy. |
Deploy |
CasperSdk.makeDeploy(DeployParams deployParams,
DeployExecutable session,
DeployExecutable payment)
Construct new unsigned deploy.
|
Deploy |
CasperSdk.makeTransferDeploy(DeployParams deployParams,
DeployExecutable session,
DeployExecutable payment)
Construct new unsigned deploy for transfer purpose.
|
Deploy |
CasperSdk.signDeploy(Deploy deploy,
org.bouncycastle.crypto.AsymmetricCipherKeyPair signKeyPair)
Sign the deploy with the specified signKeyPair.
|
| Modifier and Type | Method and Description |
|---|---|
String |
CasperSdk.deployToJson(Deploy deploy)
Converts a Casper type object ot a JSON string
|
Digest |
CasperSdk.putDeploy(Deploy signedDeploy)
Send deploy to network
|
Deploy |
CasperSdk.signDeploy(Deploy deploy,
org.bouncycastle.crypto.AsymmetricCipherKeyPair signKeyPair)
Sign the deploy with the specified signKeyPair.
|
| Modifier and Type | Method and Description |
|---|---|
String |
NodeClient.putDeploy(Deploy signedDeploy) |
| Modifier and Type | Method and Description |
|---|---|
Deploy |
DeployJsonDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
| Modifier and Type | Method and Description |
|---|---|
Deploy |
DeployService.fromJson(InputStream in) |
Deploy |
DeployService.fromJson(String json) |
Deploy |
DeployService.makeDeploy(DeployParams deployParams,
DeployExecutable session,
DeployExecutable payment)
Creates a new unsigned Deploy message
|
Deploy |
DeployService.signDeploy(Deploy deploy,
org.bouncycastle.crypto.AsymmetricCipherKeyPair keyPair) |
| Modifier and Type | Method and Description |
|---|---|
int |
DeployService.deploySizeInBytes(Deploy deploy)
Obtains the size of the deploy in bytes
|
Deploy |
DeployService.signDeploy(Deploy deploy,
org.bouncycastle.crypto.AsymmetricCipherKeyPair keyPair) |
byte[] |
DeployService.toBytes(Deploy deploy) |
Copyright © 2021. All rights reserved.