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 Run(ctx context.Context, cfg config.Config, ready component.ReadyFunc) error
- func RunCreateMultiKeyAccount()
- func StartEngine(ctx context.Context, engine models.Engine, logger zerolog.Logger)
- type Bootstrap
- func (b *Bootstrap) StartAPIServer(ctx context.Context) error
- func (b *Bootstrap) StartEventIngestion(ctx context.Context) error
- func (b *Bootstrap) StartMetricsServer(ctx context.Context) error
- func (b *Bootstrap) StartProfilerServer(_ context.Context) error
- func (b *Bootstrap) StopAPIServer()
- func (b *Bootstrap) StopClient()
- func (b *Bootstrap) StopDB()
- func (b *Bootstrap) StopEventIngestion()
- func (b *Bootstrap) StopMetricsServer()
- func (b *Bootstrap) StopProfilerServer()
- type Publishers
- type Storages
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 Run ¶ added in v0.31.0
Run will run complete bootstrap of the EVM gateway with all the engines. Run is a blocking call, but it does signal readiness of the service through a channel provided as an argument.
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 ¶
type Bootstrap ¶ added in v0.31.0
type Bootstrap struct {
// contains filtered or unexported fields
}
func (*Bootstrap) StartAPIServer ¶ added in v0.31.0
func (*Bootstrap) StartEventIngestion ¶ added in v0.31.0
func (*Bootstrap) StartMetricsServer ¶ added in v0.31.0
func (*Bootstrap) StartProfilerServer ¶ added in v0.36.4
func (*Bootstrap) StopAPIServer ¶ added in v0.31.0
func (b *Bootstrap) StopAPIServer()
func (*Bootstrap) StopClient ¶ added in v1.0.0
func (b *Bootstrap) StopClient()
func (*Bootstrap) StopEventIngestion ¶ added in v0.31.0
func (b *Bootstrap) StopEventIngestion()
func (*Bootstrap) StopMetricsServer ¶ added in v0.31.0
func (b *Bootstrap) StopMetricsServer()
func (*Bootstrap) StopProfilerServer ¶ added in v0.36.4
func (b *Bootstrap) StopProfilerServer()
type Publishers ¶ added in v0.31.0
type Storages ¶ added in v0.31.0
type Storages struct { Storage *pebble.Storage Registers *pebble.RegisterStorage Blocks storage.BlockIndexer Transactions storage.TransactionIndexer Receipts storage.ReceiptIndexer Traces storage.TraceIndexer }
Click to show internal directories.
Click to hide internal directories.