Versions in this module Expand all Collapse all v1 v1.1.0 Nov 16, 2018 Changes in this version + const IsLambda v1.0.0 Nov 4, 2018 Changes in this version + const DbKeyJSONPropName + const DbNoncePropName + const DbSecretKeyPropName + const IsAwsLambda + const Passphrase + const Path + var PassphraseChan = make(chan string) + var PathChan = make(chan string) + func DecryptAes(text, keyStr string, nonce []byte) string + func DeriveSha(txs []common.Hash) (common.Hash, *trie.Trie) + func EcRecover(dataStr, sigStr string) (addr ethcommon.Address, err error) + func EcRecoverToPubkey(hash, sig string) ([]byte, error) + func EncryptAes(text, keyStr, nonceStr string) (string, []byte) + func GetTransactionOpts() *bind.TransactOpts + func PubkeyToAddress(p []byte) ethcommon.Address + func Sign(msg string, privKey *ecdsa.PrivateKey) ([]byte, error) + func VerifyProof(txs []common.Hash, tr *trie.Trie) (bool, error) + type Crypto struct + func GetDummy() *Crypto + func GetInstance() *Crypto + func (c *Crypto) ApplyNonce(f interface{}) bool + func (c *Crypto) GetAddress() string + func (c *Crypto) InitChainID(chainID *big.Int) + func (c *Crypto) InitNonce(nonce uint64) + func (c *Crypto) Sign(msg string) string + func (c *Crypto) SignTx(tx *types.Transaction) (*types.Transaction, error) + type Transactions struct + func (s Transactions) GetRlp(i int) []byte + func (s Transactions) Len() int