Run NodesReferencewalletChainx

builder

Package builder

import "github.com/luxfi/node/wallet/chain/x/builder"

Functions

NewConsensusRuntime

func NewConsensusRuntime(
	networkID uint32,
	blockchainID ids.ID,
	utxoAssetID ids.ID,
) (*runtime.Runtime, error)

Types

Backend

Builder

Builder provides a convenient interface for building unsigned X-chain transactions.

func New(
	addrs set.Set[ids.ShortID],
	context *Context,
	backend Backend,
) Builder
func NewWithOptions(builder Builder, options ...common.Option) Builder

Context