Documentation ¶
Index ¶
- Variables
- func MakeEthTx(ctx *cli.Context, facc *wallet.Account, to *common.Address, value *big.Int, ...) error
- func MakeNeoTx(ctx *cli.Context, wall *wallet.Wallet, from common.Address, to common.Address, ...) error
- func NewCommands() []cli.Command
- func ReadWallet(path string) (*wallet.Wallet, error)
- func Sign(wall *wallet.Wallet, context *SignContext) error
- type SignContext
Constants ¶
This section is empty.
Variables ¶
View Source
var ( WalletPathFlag = cli.StringFlag{ Name: "wallet, w", Usage: "Target location of the wallet file ('-' to read from stdin).", } FromAddrFlag = flags.AddressFlag{ Name: "from", Usage: "Address to send an asset from", } )
Functions ¶
Types ¶
type SignContext ¶
func (*SignContext) Check ¶
func (sc *SignContext) Check() error
func (*SignContext) CreateTx ¶
func (sc *SignContext) CreateTx() (*transaction.Transaction, error)
func (SignContext) IsComplete ¶
func (sc SignContext) IsComplete() bool
func (SignContext) MarshalJSON ¶
func (sc SignContext) MarshalJSON() ([]byte, error)
func (*SignContext) UnmarshalJSON ¶
func (sc *SignContext) UnmarshalJSON(b []byte) error
Click to show internal directories.
Click to hide internal directories.