Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( StandardScryptN = 1 << 18 StandardScryptP = 1 LightScryptN = 1 << 12 LightScryptP = 6 )
const variables
Functions ¶
func WriteLightScryptKeyStore ¶
WriteLightScryptKeyStore write keystore with Scrypt format
Types ¶
type Key ¶
type Key struct {
ID uuid.UUID // Key ID
Address string // address
PrivateKey *ecdsa.PrivateKey // btc private key
}
Key wallet wallet key
func KeyFromPrivateKey ¶
KeyFromPrivateKey wallet key from private key bytes
func ReadKeyStore ¶
ReadKeyStore read key from keystore
Click to show internal directories.
Click to hide internal directories.