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.0a11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71a4cfdf86e50c486a73fce6703f9de47ad07258a9d9c48b595ec6fc58efcb0f |
|
MD5 | ef2afca0fc1f7027c1be49196f1377ff |
|
BLAKE2b-256 | df6dfba409fdfa64ef260d1abd287f9dcb8dc1c08ddb1fd68011983822dc7fa1 |
Close
Hashes for etherbase_predeployed-1.0.0a11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bcdc219c004f39ac136160ef8197797f0391a080c18129818bae325666926f4 |
|
MD5 | f2ff1ae5b1a41c92ae4d1843d8b2cd1e |
|
BLAKE2b-256 | dcf0a67825fb36b95695d672fdf81ac74a6014aa2648f153818b50331d717f1c |