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.0a4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b65a4e31efe474259dbf1a50dad32a9187ece4a4b593455eb94ee170ea24a2b6 |
|
MD5 | d8d1253a0fadb251e52d7ac818602d06 |
|
BLAKE2b-256 | 931851d442c1206c9dbeb6382d3d615e409ef1b8e22750a9d52392beeef1757a |
Close
Hashes for etherbase_predeployed-1.0.0a4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16a13b844d4ddd39c7e37b92a0323d79de2d4247522df37f0e80689c074efbd4 |
|
MD5 | 40c1a71683e8da4a6672bcb4e70018ad |
|
BLAKE2b-256 | 868cb8f597d3da957aca3e55e35d7d621ac6408b385f4d320893857314ac21b4 |