ape-tx
Transact using the command line
Dependencies
- python3 version 3.9 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/antazoey/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.
Metadata
Release files for ape-tx 0.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ape_tx-0.8.0.tar.gz | 19.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ape_tx-0.8.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.7 kB
Release files / ape_tx-0.8.0.tar.gz
| Download URL | ape_tx-0.8.0.tar.gz |
|---|---|
| Size | 19.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
93acb4b8d1ff8ee98a6f80305635f7a6470189ab4daf43f6fc4d217ccc4bda87
|
|
BLAKE2b-256 checksum How to use checksums |
ab98e033628228051b4fc45aa43be78cf1a74e1a9edb2c5e88d608af05860cda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.17
|
Release files / ape_tx-0.8.0-py3-none-any.whl
| Download URL | ape_tx-0.8.0-py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
48f1318e476c62a04eb63c65870864f62114b7649a72f9c3cc6aaa25bccb28ce
|
|
BLAKE2b-256 checksum How to use checksums |
16ced9dd49a815cb7f398e6728439f2dc6f81a71e05d0f669362802a03cd4828
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.17
|