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.0a51.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4166401947d4600575278d1594b738e4224901da90f90feb8b1c9d3d6a05663b |
|
MD5 | 38f0203ee681a62f4fec0c53f16fbe89 |
|
BLAKE2b-256 | 811ba76ec28363cf9782d02a24cb1f14debe376d00c18d1ee7ab7e75b82b1d62 |
Close
Hashes for etherbase_predeployed-1.1.0a51-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fbaebd292d5c4476e5c6a2a3151c50bede8042c9d1c2b298ca4ae6f104d0b8f |
|
MD5 | 612c18a10b2d9170a22a2f9c602e86a1 |
|
BLAKE2b-256 | 5e78acf22fe305e167bab2ae7166b639c5975aa073efe2706f3eed57623cb793 |