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-1.1.0a84.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ee1a6ec2685e9dd2dc71593e51625b47a4d34db9a1aa2c43af2ed45078a5b8e |
|
MD5 | 8cdbea26ccb41fccb7fd29997728fc69 |
|
BLAKE2b-256 | 4167b1017d401b0f8743035067cff408d2e63972e7c12437615fec4b6db20ba4 |
Close
Hashes for etherbase_predeployed-1.1.0a84-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cb224103a7fa93ccb2fe11c997f6bd0943aa1c10aac087a4ae646f05e0107e5 |
|
MD5 | 4be031dbe803b737791b3a46190a29ca |
|
BLAKE2b-256 | d5f54dd4225f58b8e053e3f2452e42953935738d196c1ce8e6d8e45b9e59cc85 |