Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Filenames = struct { sync.RWMutex M map[string]*SafeFilename }{M: make(map[string]*SafeFilename)}
Functions ¶
Types ¶
type EthereumKeyset ¶
type EthereumKeyset struct { PublicKey [64]byte Address [20]byte // contains filtered or unexported fields }
func GetEthKeySet ¶
func GetEthKeySet(keystoreFilepath, password string) (ethKeySet EthereumKeyset, err error)
func (*EthereumKeyset) ExportPrivateKey ¶
func (e *EthereumKeyset) ExportPrivateKey() (string, error)
CAUTION! Exposing your private key may lead to a loss of Ethereum token! Do not use this function unless you are familiar with best security practices with respect to public-key cryptography.
func (*EthereumKeyset) ExportPrivateKeyBytes ¶
func (e *EthereumKeyset) ExportPrivateKeyBytes() []byte
CAUTION! Exposing your private key may lead to a loss of Ethereum token! Do not use this function unless you are familiar with best security practices with respect to public-key cryptography.
func (*EthereumKeyset) SignTx ¶
func (e *EthereumKeyset) SignTx(tx *types.Transaction, height string) (*types.Transaction, error)
type SafeFilename ¶
Click to show internal directories.
Click to hide internal directories.