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.0a10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ecf52b00ae311f05a39ed4b0099b88f76ea376ec692fbafebbaae9f929a7c31 |
|
MD5 | 2e8aa1680b9c4c15973c78264abde340 |
|
BLAKE2b-256 | ac730eb07aa5db2bca018d097e506c074018110a16d69736c9017de988ea42a2 |
Close
Hashes for etherbase_predeployed-1.0.0a10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07e5e2f634d40149c4e13233ca04b210e76fb73d9c7d750e3390b8adbd30b589 |
|
MD5 | b3c428a4752504272380d8d273952f44 |
|
BLAKE2b-256 | 720d91dbbe24d665b5b8d4cba94bada16fc59f69d134ae70ec89bb69f09dd8a8 |