Run NodesReferencewalletChainp

builder

Package builder

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

Functions

NewConsensusRuntime

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

NewConsensusRuntimeWithChainID

func NewConsensusRuntimeWithChainID(networkID uint32, chainID ids.ID, utxoAssetID ids.ID) (*runtime.Runtime, error)

Types

Backend

Builder

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

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

Context