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.1a33.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0143c78d361d50e98272889efaac8662f002cbf22fcf7cfdc7771d61f579d5ae |
|
MD5 | 13fd0d425fb94c4bcdc5ce3f0976cb82 |
|
BLAKE2b-256 | 71d79e028df6992fe920137bebad55d3a7271ba65231fac18831e639eb39656d |
Close
Hashes for etherbase_predeployed-0.0.1a33-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e65cca2cea92f3d8f1294f9ede2aaae0f6f6417cdcfafcfbfaef4095954ffa7 |
|
MD5 | 27855c20b30cd1bd51ced5918e7b0910 |
|
BLAKE2b-256 | 5b76d83766ac251ba0b48fdfd1407fe73aee2783fb3cdb1cfd893380d5f915f3 |