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.0a8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d86944dd52d8bd6ca863fce864a6e20984366776b7bd723d22125f479dab3d51 |
|
MD5 | 27727408cac1c054280f91def06bada0 |
|
BLAKE2b-256 | 255d8c497e399d361910a1de535b5b5efb701e5ef0606d7b8750543c8ae7e2ee |
Close
Hashes for etherbase_predeployed-1.1.0a8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a66895b8dc62b70972c50a830f5af1d7fdfecfc5edc354b9039d5299f2e8dae |
|
MD5 | 03820dfcab46acd1516d251d4355bed6 |
|
BLAKE2b-256 | 34db41774017525d08e77829edf4ee9fcf78196f66582b60f0207e0c163c4b91 |