cardanocli

package
v0.0.0-...-ef514fe Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNode

func NewNode(network cardano.Network) cardano.Node

NewNode returns a new instance of CardanoCli.

Types

type CardanoCli

type CardanoCli struct {
	// contains filtered or unexported fields
}

CardanoCli implements Node using cardano-cli and a local node.

func (*CardanoCli) Network

func (c *CardanoCli) Network() cardano.Network

func (*CardanoCli) ProtocolParams

func (c *CardanoCli) ProtocolParams() (*cardano.ProtocolParams, error)

func (*CardanoCli) SubmitTx

func (c *CardanoCli) SubmitTx(tx *cardano.Tx) (*cardano.Hash32, error)

func (*CardanoCli) Tip

func (c *CardanoCli) Tip() (*cardano.NodeTip, error)

func (*CardanoCli) UTxOs

func (c *CardanoCli) UTxOs(addr cardano.Address) ([]cardano.UTxO, error)

Jump to

Keyboard shortcuts

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