Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenAccount ¶ added in v0.0.2
func GenAccount() (crypto.PrivateKey, crypto.PublicKey)
func SavePrivateKey ¶ added in v0.0.2
Types ¶
type Account ¶ added in v0.0.7
type Account struct { Id int PrivateKey crypto.PrivateKey PublicKey crypto.PublicKey Address common.Address InitBalance uint64 // contains filtered or unexported fields }
func NewAccount ¶
func RandomAccount ¶ added in v0.0.7
func RandomAccount() *Account
func (*Account) ConsumeNonce ¶ added in v0.0.7
type PrivateInfo ¶ added in v0.0.7
Click to show internal directories.
Click to hide internal directories.