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.1a30.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b8f94ebbb15d2a4d01dbae2f6d83644b95c7d80cbf0415c2a3c323db4bdce3c |
|
MD5 | 3424198712dcfd71df9e829bdbc388c6 |
|
BLAKE2b-256 | e57ae9c7c17dcc20a508b312500ff6d378a6b7eeaa00e49d0bc2d2df23c117cb |
Close
Hashes for etherbase_predeployed-0.0.1a30-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62df6f6aa289b6bbd151e4df9344c4bfe8bb2d8a87b526a582d0cba59a07f638 |
|
MD5 | a3e1077f25a5a816daa2b98c73d9ae07 |
|
BLAKE2b-256 | f520842c5880c44ff67d3dc115842127e00d3cc26adc089d73155ca17e9dc1ca |