Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Key ¶
type Key struct { Address types.Address `json:"address"` PrivateKey string `json:"private_key"` Encrypted bool `json:"encrypted"` }
Key represents a private key
func NewWithPrivateKey ¶
func NewWithPrivateKey(privateKey crypto.PrivateKey, password string) (*Key, error)
func (*Key) GetPrivateKey ¶
func (key *Key) GetPrivateKey(password string) (crypto.PrivateKey, error)
Click to show internal directories.
Click to hide internal directories.