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.1a31.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f24ae91b6a92d4bb31857ebf679c5ae1567ed04e172cd6b38cf5928d66c5e03 |
|
MD5 | 8472328aa8ee58b845476f9662a52f49 |
|
BLAKE2b-256 | 5c157f07d46e0745f31cf1042058b5ac83f3bea6b953ab684ba4e5381130d61d |
Close
Hashes for etherbase_predeployed-0.0.1a31-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc42165f1140690a3d20e698ddbb10a6eb6fbcc479bd690ce296a05ba317731b |
|
MD5 | a6c7c8616ff5d6030d0b19a93a969b26 |
|
BLAKE2b-256 | eda9be4adb871ad89487871bbb5a37e76fbec097dae19be2aef4c81deba81784 |