Documentation ¶
Overview ¶
Implement CLI for payment, account creation, and freezing requests
Implement CLI for payment, account creation, and freezing requests
Index ¶
Constants ¶
This section is empty.
Variables ¶
var (
PaymentCmd *cobra.Command
)
var (
UnfreezeRequestCmd *cobra.Command
)
Functions ¶
func MakeTransactionCreateAccount ¶
func MakeTransactionCreateAccount(kpSource keypair.KP, kpDest keypair.KP, amount common.Amount, seqid uint64, isFrozen bool) transaction.Transaction
/ / Make a full transaction, with a single operation to create an account / / TODO: / Move to lib (it was 'borrowed' from test code) / / Params: / kpSource = Sender's keypair.Full seed/address / kpDest = Newly created account's address / amount = Amount to send as initial value / seqid = SequenceID of the last transaction / target = Address of the linked account, if we're creating a frozen account / / Returns: / `sebak.Transaction` = The generated `Transaction` creating the account /
func MakeTransactionPayment ¶
func MakeTransactionPayment(kpSource keypair.KP, kpDest keypair.KP, amount common.Amount, seqid uint64) transaction.Transaction
/ / Make a full transaction, with a single payment operation in it / / TODO: / Move to lib (it was 'borrowed' from test code) / / Params: / kpSource = Sender's keypair.Full seed/address / kpDest = Receiver's keypair.FromAddress address / amount = Amount to send as initial value / seqid = SequenceID of the last transaction / / Returns: / `sebak.Transaction` = The generated `Transaction` to do a payment /
Types ¶
This section is empty.