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.0a33.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58b0524456e75a65ea316450ff90b3acd5fcc4ac93202da64794cc3afa18ee76 |
|
MD5 | 0fc088aa29d59f92adefaad7ac7d0dc0 |
|
BLAKE2b-256 | 0e4fe8160d4bbc6b18bb4297bafd0285949b7bb851e0542853cdd021a0342ee9 |
Close
Hashes for etherbase_predeployed-1.1.0a33-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc1a4ac8559a1518f3238ddcd533116cf9bb37db701beb66fb1925dd1ce86a17 |
|
MD5 | 200e9eb78d3cecae4f8c4ac5a1bd05c3 |
|
BLAKE2b-256 | c1fd209d67cba467d7ca945bcf4c5065135a5289497a28ab3736829787b796dd |