node

package
v0.0.0-...-f679f10 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(ctx context.Context, rpcEndpoint string) (*rpc.Client, error)

Types

type Node

type Node struct {
	RpcClient *rpc.Client
	Signer    signer.Signer
	TxService transaction.Service
}

func InitNode

func InitNode(ctx context.Context, privateKey, endpoint string, logger *logrus.Logger) (*Node, error)

InitNode initializes the node with passed configs

Jump to

Keyboard shortcuts

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