pywallet is a library of various blockchain's coldwallet functions.
install
git clone git@github.com:deep2essence/pywallet --recursive
cd pywallet
pip3 install -r requirements.txt
Setting
[setting.yaml]
network:ropsten
Test
python3 -m unittest discover -s tests/ethereum
Usage
create account
[string]
make genkey.string
[int]
make genkey.eth.int
[random]
make genkey.rand.eth
query
[account.balance]
make chkacc.eth
[account nonce]
make chknonce.eth
transaction
[non-contract]
make create.tx
make sign.tx
make broadcast.tx
[contract]
make create.contract.tx
[weth]
make deposit.weth
make withdraw.weth
make approve.weth
make transfer.weth
[gas estimation]
make calc.intrinsic.gas