We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
It would be a very good extension for the existing functionality to have a method that creates a transfer deploy from basic parameters:
type TransferDeployParams struct { Account keypair.PublicKey Sender keypair.PublicKey Recipient keypair.PublicKey Amount. uint64 ChainName string } func MakeTransferDeploy(params TransferDeployParams) types.Deploy
Example of a use case:
deploy := casper.MakeTransferDeploy(casper.TransferDeployParams{ Account: key.PublicKey(), Sender: key.PublicKey(), Recipient: recipientPublicKey, Amount: 10000, ChainName: "casper-test", }) deploy.SignDeploy(key) casperClient.PutDeploy(deploy)
The text was updated successfully, but these errors were encountered:
koltsov-iv
No branches or pull requests
It would be a very good extension for the existing functionality to have a method that creates a transfer deploy from basic parameters:
Example of a use case:
The text was updated successfully, but these errors were encountered: