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.0a65.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba216647d5fabe0db65a6023704e90e34bdf94f951bd6d22fff8debd28d56940 |
|
MD5 | 474f7607336460131f7f9dfee87b5767 |
|
BLAKE2b-256 | 32ccc37d62f59f77767f19d412b9d3122d43a2c4e8bb9225d66b49eb22c5ccf4 |
Close
Hashes for etherbase_predeployed-1.1.0a65-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77907f40f286efad48122590b082021ee88fb4998e8c596f2310826d411e8703 |
|
MD5 | 7159ba0745d42644db5cf38ba0d18c9a |
|
BLAKE2b-256 | 58833a075a6d83122cdd5c63d0136024951ee4b0d0c7f418b70d0535eb11f7fc |