Documentation ¶
Index ¶
- func GetKeystoreDirPath(dataDir string) string
- func NewKeystoreAccount(dataDir string, password string) (common.Address, error)
- func NewRandomKey() (*keystore.Key, error)
- func Sign(msg []byte, privKey *ecdsa.PrivateKey) (sig []byte, err error)
- func SignTx(tx database.Tx, privKey *ecdsa.PrivateKey) (database.SignedTx, error)
- func SignTxWithKeystoreAccount(tx database.Tx, account common.Address, pwd string, keystoreDir string) (database.SignedTx, error)
- func Verify(msg []byte, sig []byte) (*ecdsa.PublicKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKeystoreDirPath ¶
func NewKeystoreAccount ¶
func NewRandomKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.