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.1a8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70859600693329b59b7c97d849c80c8b59d3206c73f4c9441eab1627bf1e7856 |
|
MD5 | 5c1af8b2544e9665e9c53b84c3c6245f |
|
BLAKE2b-256 | b22e6d61092134c2d865457617b178697ae985893e9efc48b53e602c2a73e656 |
Close
Hashes for etherbase_predeployed-0.0.1a8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 777fd4b3cea5605a0d84863dece13ac98c1a287fc58fdfc7f32eafe0dfc7dbb3 |
|
MD5 | ad0dcd9e70d85c41a3009cfb1a05edcb |
|
BLAKE2b-256 | 3343f1bcf1e25888569be5aed3f80ae3cd8683b40c8dc12a792459f81e3a1f63 |