A tool for generating predeployed etherbase smart contract
Project description
etherbase-predeployed
Description
A tool for generating predeployed etherbase smart contract
Installation
pip install etherbase-predeployed
Usage example
from etherbase_predeployed import UpgradeableEtherbaseUpgradeableGenerator, ETHERBASE_ADDRESS, ETHERBASE_IMPLEMENTATION_ADDRESS
OWNER_ADDRESS = '0xd200000000000000000000000000000000000000'
PROXY_ADMIN_ADDRESS = '0xd200000000000000000000000000000000000001'
etherbase_generator = UpgradeableEtherbaseUpgradeableGenerator()
genesis = {
# genesis block parameters
'alloc': {
**etherbase_generator.generate_allocation(
contract_address=ETHERBASE_ADDRESS,
implementation_address=ETHERBASE_IMPLEMENTATION_ADDRESS,
schain_owner=OWNER_ADDRESS,
proxy_admin_address=PROXY_ADMIN_ADDRESS
)
}
}
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
Built Distribution
Close
Hashes for etherbase-predeployed-0.0.1a35.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8015a444c01623575c40189a812c902111e0b652a8a43cdca9cc2003988665ed |
|
MD5 | 1237fde48a7e0769025bc1b1f5b272ad |
|
BLAKE2b-256 | 751bba1c42aa6e94dd78aee05c16c07f171306df5c5a2fdac3d19ac853ce061b |
Close
Hashes for etherbase_predeployed-0.0.1a35-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68eefd8f885c529139ba1283a2fb0c6c700944f4fc6b5160ee667fe1e313164c |
|
MD5 | 5788b104919c4c971857d9f776923eab |
|
BLAKE2b-256 | 0923369d3259b38eb738b399e1150e38d0b59a6c593e328bfdab7f452df40c6d |