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.0a29.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3456a090def170cba20c86ce6add56868721ae3b7c3354342e46fa7a40fed9e8 |
|
MD5 | 591a79b15a7fd9f48f66ed136e39a10e |
|
BLAKE2b-256 | 0d244a6b97058deb8d0855ffe9e577466cdc5b5c65a1105182ff4ee38a87c19b |
Close
Hashes for etherbase_predeployed-1.1.0a29-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d050166ac73ed2f374478257779fd08e2ca829f8e7d0bc67b7471e8477e132d |
|
MD5 | c636e9d7e87bf010d19f8bf061397552 |
|
BLAKE2b-256 | efb273c384872ff969fba6acaa9c99894f10372489487c6f0bbc5bf2ead4cfc8 |