Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mnemonic ¶
type Mnemonic struct {
// contains filtered or unexported fields
}
func NewMnemonic ¶
func (*Mnemonic) PrivateKey ¶
func (mnemonic *Mnemonic) PrivateKey(derivationPath string, password string) (*PrivateKey, error)
type PrivateKey ¶
type PrivateKey struct {
*ecdsa.PrivateKey
}
func DecodePrivateKey ¶
func DecodePrivateKey(privateKeyString string) (*PrivateKey, error)
func (*PrivateKey) String ¶
func (privateKey *PrivateKey) String() string
type PublicKey ¶
func DecodePublicKey ¶
func NewPublicKey ¶
func NewPublicKey(privateKey *PrivateKey) *PublicKey
type Signature ¶
type Signature struct {
// contains filtered or unexported fields
}
func DecodeSignature ¶
func NewSignature ¶
func NewSignature(marshaledTransaction []byte, privateKey *PrivateKey) (*Signature, error)
type Wallet ¶
type Wallet struct {
// contains filtered or unexported fields
}
func DecodeWallet ¶
func NewEmptyWallet ¶
func NewEmptyWallet() *Wallet
func (*Wallet) MarshalJSON ¶
func (*Wallet) PrivateKey ¶
func (wallet *Wallet) PrivateKey() *PrivateKey
Click to show internal directories.
Click to hide internal directories.