Documentation ¶
Index ¶
- func CreateAccount(flowClient *client.Client, publicKeys []*flow.AccountKey) *flow.Account
- func CreateAccountWithContracts(flowClient *client.Client, publicKeys []*flow.AccountKey, ...) *flow.Account
- func GetReferenceBlockId(flowClient *client.Client) flow.Identifier
- func Handle(err error)
- func RandomAccount(flowClient *client.Client) (flow.Address, *flow.AccountKey, crypto.Signer)
- func RandomPrivateKey() crypto.PrivateKey
- func ReadFile(path string) string
- func ServiceAccount(flowClient *client.Client) (flow.Address, *flow.AccountKey, crypto.Signer)
- func WaitForSeal(ctx context.Context, c *client.Client, id flow.Identifier) *flow.TransactionResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAccount ¶
func CreateAccountWithContracts ¶ added in v0.12.0
func GetReferenceBlockId ¶ added in v0.11.0
func RandomAccount ¶ added in v0.4.0
func RandomPrivateKey ¶
func RandomPrivateKey() crypto.PrivateKey
RandomPrivateKey returns a randomly generated ECDSA P-256 private key.
func ServiceAccount ¶ added in v0.4.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.