starknet

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chain

type Chain interface {
	types.ChainService

	ID() string
	Config() config.Config

	TxManager() txm.TxManager
	Reader() (starknet.Reader, error)
}

func NewChain

func NewChain(cfg *config.TOMLConfig, opts ChainOpts) (Chain, error)

type ChainOpts

type ChainOpts struct {
	Logger logger.Logger
	// the implementation used here needs to be co-ordinated with the starknet transaction manager keystore adapter
	KeyStore loop.Keystore
}

func (*ChainOpts) Name

func (o *ChainOpts) Name() string

func (*ChainOpts) Validate

func (o *ChainOpts) Validate() (err error)

Jump to

Keyboard shortcuts

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