Documentation ¶
Index ¶
- func GenerateAccountID(t *testing.T) (*keypair.Full, xdr.AccountId)
- func GenerateAccountIDs(t *testing.T, n int) []xdr.AccountId
- func GenerateCreateOperation(src *xdr.AccountId, dest xdr.AccountId) xdr.Operation
- func GenerateHorizonAccount(accountID string, nativeBalance string, sequence string) *hProtocol.Account
- func GenerateKin2HorizonAccount(accountID string, balance string, sequence string) *hProtocol.Account
- func GenerateKin2PaymentOperation(src *xdr.AccountId, dest xdr.AccountId, issuer xdr.AccountId) xdr.Operation
- func GenerateLEC(lecType xdr.LedgerEntryChangeType, id xdr.AccountId, seqNum xdr.SequenceNumber, ...) xdr.LedgerEntryChange
- func GenerateMergeOperation(src *xdr.AccountId, dest xdr.AccountId) xdr.Operation
- func GeneratePaymentOperation(src *xdr.AccountId, dest xdr.AccountId) xdr.Operation
- func GenerateSolanaKeypair(t *testing.T) ed25519.PrivateKey
- func GenerateSolanaKeys(t *testing.T, n int) []ed25519.PublicKey
- func GenerateTransactionEnvelope(src xdr.AccountId, seqNum int, operations []xdr.Operation) xdr.TransactionEnvelope
- func GenerateTransactionMeta(v int32, operations []xdr.OperationMeta) xdr.TransactionMeta
- func GenerateTransactionResult(code xdr.TransactionResultCode, results []xdr.OperationResult) xdr.TransactionResult
- func GetKin2Context(ctx context.Context) context.Context
- func SortKeys(src []ed25519.PublicKey)
- func StellarAccountIDFromString(address string) (id xdr.AccountId, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCreateOperation ¶
func GenerateHorizonAccount ¶
func GenerateKin2HorizonAccount ¶ added in v0.2.2
func GenerateKin2PaymentOperation ¶ added in v0.2.2
func GenerateLEC ¶
func GenerateLEC(lecType xdr.LedgerEntryChangeType, id xdr.AccountId, seqNum xdr.SequenceNumber, balance xdr.Int64) xdr.LedgerEntryChange
func GenerateMergeOperation ¶
func GenerateSolanaKeypair ¶ added in v0.2.3
func GenerateSolanaKeypair(t *testing.T) ed25519.PrivateKey
func GenerateSolanaKeys ¶ added in v0.2.3
func GenerateTransactionMeta ¶
func GenerateTransactionMeta(v int32, operations []xdr.OperationMeta) xdr.TransactionMeta
func GenerateTransactionResult ¶
func GenerateTransactionResult(code xdr.TransactionResultCode, results []xdr.OperationResult) xdr.TransactionResult
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.