Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultAccountManagerFile = "/.cookiemonster/accountmanager.json" DefaultAccountManager AccountManager MasterKey = "master" )
Functions ¶
func AddMasterKey ¶
func DumpAccountManagerToFile ¶
func DumpAccountManagerToFile(am *AccountManager, fileLocation string) error
Types ¶
type AccountManager ¶
func LoadAccountManagerFromFile ¶
func LoadAccountManagerFromFile(fileLocation string) (*AccountManager, error)
func MustLoadAccountManagerFromFile ¶
func MustLoadAccountManagerFromFile(fileDir string) *AccountManager
func (*AccountManager) CreateNewPrivKeyForAddress ¶
func (am *AccountManager) CreateNewPrivKeyForAddress(Address string) cryptotypes.PrivKey
func (*AccountManager) LoadMasterKey ¶
func (am *AccountManager) LoadMasterKey()
func (*AccountManager) RegisterAccountForAddress ¶
func (am *AccountManager) RegisterAccountForAddress(Address string) (sdk.AccAddress, error)
import
type AccountManagerLoader ¶
Click to show internal directories.
Click to hide internal directories.