Minimal Brownie like contract wrapper for Pyrevm
Project description
pyrevm_contract
Minimal Brownie like contract wrapper for Pyrevm
pip install pyrevm_contract
from pyrevm_contract import Revm, Contract
Revm(rpc_url, block_num) # revm singleton; sets backend for all contracts
c = Contract("0x", "abi_file_path", caller="0x")
res = c.contractFunc(*params, value=0)
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
pyrevm_contract-0.1.4.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for pyrevm_contract-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9ebbe0870fa06ff5beb28871922fc4697e8a1f26a4b16cbd85bcd7afe4f28b6 |
|
MD5 | e4f57a2b94f964ab024d0890b079bb98 |
|
BLAKE2b-256 | d4e24530442518edd91a2e265a26e112f80114528ac5465f025b3eda70b71a29 |