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.0a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 888cbf0ea071691a68f5883eae9257204dcded132002769bfe3e293cd5425aef |
|
MD5 | 9cf8e731c3ccd6a78ee176fab8395fe4 |
|
BLAKE2b-256 | 66dd6bb73f85392ae0a170e81e5f51230e1dfa5b74313d5d8f86d185b163e83c |
Close
Hashes for etherbase_predeployed-1.0.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3433bb9fd96ae216ab608bfd03fe5528217c3cd130f63f0e26acf8a63a7327ce |
|
MD5 | e97fb5db7cf3ea92e1cd3a14fcba2d9c |
|
BLAKE2b-256 | 8672d2781fb85fc65be0fc654cf7b74d885bffb2d45ca8d931d362ffaf07e721 |