Documentation ¶
Index ¶
- func CreateMultiCloudKMSKeysAccount(client *grpc.Client, publicKeys []string, payer flow.Address, ftAddress string, ...) (*flow.Address, error)
- func CreateMultiKeyAccount(client *grpc.Client, keyCount int, payer flow.Address, ftAddress string, ...) (*flow.Address, []crypto.PrivateKey, error)
- func RunCreateMultiKeyAccount()
- func Start(ctx context.Context, cfg *config.Config) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMultiCloudKMSKeysAccount ¶ added in v0.18.0
func CreateMultiKeyAccount ¶
func CreateMultiKeyAccount( client *grpc.Client, keyCount int, payer flow.Address, ftAddress string, flowAddress string, key crypto.PrivateKey, ) (*flow.Address, []crypto.PrivateKey, error)
CreateMultiKeyAccount is used to setup an account that can be used with key-rotation mechanism // todo parts of this are copied from flowkit and go-sdk/templates and should be refactored out once the package are migrated to Cadence 1.0
func RunCreateMultiKeyAccount ¶ added in v0.11.0
func RunCreateMultiKeyAccount()
RunCreateMultiKeyAccount command creates a new account with multiple keys, which are saved to keys.json for later use with running the gateway in a key-rotation mode (used with --coa-key-file flag).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.