Documentation
¶
Index ¶
- func CheckIsManAddress(strData string) bool
- func EthAddressToManAddress(address common.Address) string
- func ManAddressToEthAddress(manAddr string) (common.Address, error)
- type KeystoreManager
- func (ks *KeystoreManager) GetKey(addr common.Address, filename, auth string) (*keystore.Key, error)
- func (ks *KeystoreManager) SignTx(sendTx *common1.SendTxArgs1, from string) (*common1.SendTxArgs1, error)
- func (ks *KeystoreManager) SignTxWithPassphrase(transaction types.SelfTransaction, from string, passphrase string) ([]byte, error)
- func (ks *KeystoreManager) TimedUnlock(manAddr string, password string, timeout time.Duration) error
- func (ks *KeystoreManager) Unlock(manAddr string, password string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIsManAddress ¶ added in v1.0.4
func EthAddressToManAddress ¶
Types ¶
type KeystoreManager ¶
func NewKeystoreManager ¶
func NewKeystoreManager(keystoreDir string, chainId int64) *KeystoreManager
func (*KeystoreManager) SignTx ¶
func (ks *KeystoreManager) SignTx(sendTx *common1.SendTxArgs1, from string) (*common1.SendTxArgs1, error)
func (*KeystoreManager) SignTxWithPassphrase ¶
func (ks *KeystoreManager) SignTxWithPassphrase(transaction types.SelfTransaction, from string, passphrase string) ([]byte, error)
func (*KeystoreManager) TimedUnlock ¶
Click to show internal directories.
Click to hide internal directories.