bootstrap

package
v0.26.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMultiCloudKMSKeysAccount added in v0.18.0

func CreateMultiCloudKMSKeysAccount(
	client *grpc.Client,
	publicKeys []string,
	payer flow.Address,
	ftAddress string,
	flowAddress string,
	key crypto.PrivateKey,
) (*flow.Address, error)

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).

func Start

func Start(ctx context.Context, cfg *config.Config) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL