ape-tx: transact from the command line
Project description
ape-tx
Transact using the command line
Dependencies
- python3 version 3.8 or greater, python3-dev
Installation
via pip
You can install the latest release via pip
:
pip install ape-tx
via setuptools
You can clone the repository and use setuptools
for the most up-to-date version:
git clone https://github.com/unparalleled-js/ape-tx.git
cd ape-tx
python3 setup.py install
Quick Usage
Deploy contracts:
ape tx deploy MyContract arg0 arg1 --sender AccountAlias
Check balances:
ape tx bal AccountAlias --network ethereum:mainnet
Transfer money:
ape tx transfer --from AccountAlias --to 0x8656bDDC790dA239824eE2eA782d350c80AA2Cf4 --value "1 ETH"
View transaction traces:
ape tx trace 0x053cba5c12172654d894f66d5670bab6215517a94189a9ffc09bc40a589ec04d
Make calls:
ape tx call \
--network "ethereum:mainnet:alchemy" \
--contract 0x0A56d07a0B8Ba800358DdEEb20eb46a618BFBE27 \
--method balanceOf \
0x8656bDDC790dA239824eE2eA782d350c80AA2Cf4
Make transactions:
ape tx invoke \
--network "ethereum:mainnet:alchemy" \
--contract 0x0A56d07a0B8Ba800358DdEEb20eb46a618BFBE27 \
--method transfer \
--sender AccountAlias \
0x8656bDDC790dA239824eE2eA782d350c80AA2Cf4 123
Development
This project is in development and should be considered a beta. Things might not be in their final state and breaking changes may occur. Comments, questions, criticisms and pull requests are welcomed.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ape-tx-0.6.0.tar.gz
(18.7 kB
view details)
Built Distribution
ape_tx-0.6.0-py3-none-any.whl
(10.2 kB
view details)
File details
Details for the file ape-tx-0.6.0.tar.gz
.
File metadata
- Download URL: ape-tx-0.6.0.tar.gz
- Upload date:
- Size: 18.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6865421cd20602af67343fdf74a5a7cab5f0547ec5e3e11fe7aa112ec46e607 |
|
MD5 | 825ae6fb1da78f9891c39014581d9ce9 |
|
BLAKE2b-256 | 2f3bb6c7fbcc5206f4e0b4ccf02a75e5a7c2ba19535b6d2fc266d13e59ba23b6 |
File details
Details for the file ape_tx-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: ape_tx-0.6.0-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72fb0dd5cadb228a5435d655d90285826185b73730b9fd962a7c4728768fde7c |
|
MD5 | cd7dd2052cc175f0a83490820f7d9be0 |
|
BLAKE2b-256 | 71ba508c26482eb086d1c0172ef6a33d2aa894e8a671e52db114ab416286a02e |