Documentation ¶
Index ¶
- func CreateAccount(flowClient *client.Client, publicKeys []*flow.AccountKey, code []byte) *flow.Account
- func DeployContract(flowClient *client.Client, code []byte) flow.Address
- func Handle(err error)
- func RandomAccount(flowClient *client.Client) (flow.Address, *flow.AccountKey, crypto.Signer)
- func RandomPrivateKey() crypto.PrivateKey
- func ReadFile(path string) []byte
- 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 DeployContract ¶
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.