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.0.0a17.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d51594febf91810c43f0d86be310fd8b6213419470ee146285c1d139276a2dc5 |
|
MD5 | 9e0681e47829a99879731cfac47f0b88 |
|
BLAKE2b-256 | 317da5e010bae116944d49c9e9cf35ae7645e6d067ae6d2f4531bff74bc8125c |
Close
Hashes for etherbase_predeployed-1.0.0a17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce8c3967b770af9f075f60c1c733f5f3c30166fd8098f73c74651ab2df55ab04 |
|
MD5 | db0696616b219e67c4526e73ebcc293b |
|
BLAKE2b-256 | da1fa4964f5917d7c891a6b4a6247a501e1fb10b30db1e409a15a499996a431b |