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.0a20.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd7e037e7ebc365d51d37238b77a972231aaa4492861cef626edf2869ae16cf3 |
|
MD5 | 512ab8f2b3731cd0a85990c91cde4d42 |
|
BLAKE2b-256 | 7fd97baf060a7c218f062d90ab10e533d45917996568be7e54d2dad0af3d6e3e |
Close
Hashes for etherbase_predeployed-1.0.0a20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f229b3026165ab64864ffb8b9b3a07ba7e71f5d67d1e381aa199a4e356fa61b |
|
MD5 | c1db8ebb47ab2f3305fb8b2fd9d05a72 |
|
BLAKE2b-256 | 3e6bc146379c77e6f6d151f4a10a34f30c68bd27d6e7547000080ef85c5f8b62 |