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.0a31.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef60e7edf6ef384cd3f1db2aaec2c7ecabeb795276925a9e2caaef05af93a96a |
|
MD5 | ba38d2468c75b0c14beb7ba6552b1fda |
|
BLAKE2b-256 | b25713a886d4789907afacd3eaf31215719e8a578b3987c2a169d29e8a574ec9 |
Close
Hashes for etherbase_predeployed-1.1.0a31-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d756b96c756c5a8f3cb1e6fa29ebe77845a7ba9410b77c87d09c218e9e65631 |
|
MD5 | 05bcfefaf0cd2a18976487b2be2f2773 |
|
BLAKE2b-256 | 5a140a87d8b32e20e6b863cf979f34863ecb97b07fa4a1ea6c900287e6625de0 |