Versions in this module Expand all Collapse all v1 v1.2.0 May 22, 2024 Changes in this version + func GetQngAddrsFromPrivateKey(privateKeyStr string, param *params.Params) ([]types.Address, error) + type PrivateWalletManagerAPI struct + func NewPrivateWalletAPI(m *WalletManager) *PrivateWalletManagerAPI + func (api *PrivateWalletManagerAPI) ImportRawKey(privkey string, password string) (common.Address, error) + func (api *PrivateWalletManagerAPI) ListAccount() (interface{}, error) + func (api *PrivateWalletManagerAPI) Lock(addres string) error + func (api *PrivateWalletManagerAPI) SendToAddress(fromAddress string, to string, lockTime int64) (string, error) + func (api *PrivateWalletManagerAPI) Unlock(account, passphrase string, timeout time.Duration) error + type PublicWalletManagerAPI struct + type QngKeyStore struct + func NewQngKeyStore(ks *keystore.KeyStore) *QngKeyStore + func (ks *QngKeyStore) GetKey(addr common.Address, filename, auth string) (*keystore.Key, error) + type WalletManager struct + func New(cfg *config.Config, evm *meer.MeerChain, _am *acct.AccountManager, ...) (*WalletManager, error) + func (a *WalletManager) APIs() []api.API + func (a *WalletManager) CollectUtxoToEvm() + func (a *WalletManager) Start() error + func (a *WalletManager) Stop() error + func (acc *WalletManager) Load() error + func (acc *WalletManager) MakeAddress(ks *QngKeyStore, account string) (accounts.Account, error)