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.1a24.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3446c7b367f7698b6c10382229f4eafb71cbaf286f6658ab92b5c6e3ccfe980b |
|
MD5 | 7aca50e44f98f4a4cfe80fac17642ec9 |
|
BLAKE2b-256 | a8f87ec190ef200505c3091335320b8a2a9046e30a9c3cb1e0db9994aaba0eff |
Close
Hashes for etherbase_predeployed-0.0.1a24-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 688f34c7ea1765bfc125daa0efe3c9df82fcbebd40ca24645f7c4b8b83020cb5 |
|
MD5 | 825f2631928aa172a751fdf35794a43b |
|
BLAKE2b-256 | 128143706b945395cc6abbf2ad93d31c9c1a3e971e932a23b0f3312a02acdb29 |