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.0a54.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d2a8195edf480f05d6d7ab345c6f81fe4f02ac6b0d4c390796591480f6c6cfc |
|
MD5 | e6db42134d7f7631108647190cc1a0c6 |
|
BLAKE2b-256 | 157b8411b3dbeb39ecca5c5fe7ad01ee87a4b5581a9486eadf6ec8cf3c4a4861 |
Close
Hashes for etherbase_predeployed-1.1.0a54-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e96fa1f5da432a2559f130a6fe344f9048c37ad72e226e2fe0c04f493ecffe8b |
|
MD5 | a6150045db4c14b7989b07f34ae7bece |
|
BLAKE2b-256 | 5a7c25f547a9d0ea24ecebd7aa867fd31fb09fc3933a9c56b4b6d9137eaba6ab |