Versions in this module Expand all Collapse all v0 v0.0.9 Aug 14, 2020 v0.0.9-Bytes01 Aug 18, 2020 v0.0.9-Bytes-0.1 Aug 10, 2020 v0.0.9-Bytes Aug 18, 2020 v0.0.8 Aug 14, 2020 v0.0.7 Aug 11, 2020 Changes in this version + type Account struct + Address common.Address + Id int + InitBalance uint64 + PrivateKey crypto.PrivateKey + PublicKey crypto.PublicKey + func RandomAccount() *Account + func (s *Account) ConsumeNonce() (uint64, error) + func (s *Account) GetNonce() (uint64, error) + func (s *Account) SetNonce(lastUsedNonce uint64) + type PrivateInfo struct + Id string + PrivateKey string + Type string v0.0.6 Aug 10, 2020 v0.0.5 Mar 17, 2020 v0.0.5-unstable Aug 11, 2020 v0.0.4 Jan 20, 2020 v0.0.3 Aug 1, 2019 v0.0.2 Jul 17, 2019 Changes in this version + func GenAccount() (crypto.PrivateKey, crypto.PublicKey) + func SavePrivateKey(path string, content string) v0.0.1 May 31, 2019 Changes in this version + type SampleAccount struct + Address types.Address + Id int + InitBalance uint64 + PrivateKey crypto.PrivateKey + PublicKey crypto.PublicKey + func NewAccount(privateKeyHex string) *SampleAccount + func (s *SampleAccount) ConsumeNonce() (uint64, error) + func (s *SampleAccount) GetNonce() (uint64, error) + func (s *SampleAccount) SetNonce(lastUsedNonce uint64)