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.1a16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdf17bac325b2373bf7af7e4ffef3fc835d98c93ad38a26d873e327524fa9854 |
|
MD5 | cbe55494a78edf9e81b8bed5ebb0abe4 |
|
BLAKE2b-256 | f44747ec39ee8a191b5da8ff8f27fa4c98be688ebe54d5f656a76bd289016d02 |
Close
Hashes for etherbase_predeployed-0.0.1a16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f38c700825c2c5be5487f9641f9e7ae9f935e581aaa0dc692a89773f6f70e12 |
|
MD5 | d600e75f12a0e3aa04b097442e8f6a97 |
|
BLAKE2b-256 | 8c046bf6003786d349386dd0772e85337eed819db8765c8fb531e24dc9f39e9a |