Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶ added in v0.0.6
type SignableTx ¶ added in v0.0.3
type Signer ¶
type Signer interface {
Sign(tx SignableTx) error
SignBytes(bytes []byte) ([]byte, crypto.PubKey, error)
}
Transaction signer
func NewKeystoreSigner ¶
func NewKeystoreSigner(store StoreSigner, keyName, password string) Signer
Return a Signer backed by a keystore
func NewPrivateKeySigner ¶
Return a Signer backed by the given KeySigner (such as a crypto.PrivKey)
type StoreSigner ¶ added in v0.0.3
type TxBuilder ¶
type TxBuilder interface {
SignableTx
Signature() []byte
TxBytes() ([]byte, error)
}
func NewTxBuilder ¶
type TxProcessor ¶
func NewTxProcessor ¶
func NewTxProcessor(buf []byte) (TxProcessor, error)
Click to show internal directories.
Click to hide internal directories.