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.1a32.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d8afd7db882f0ca956cd8c4dfff34810d8a4667fd87e9ae631887824042d1f6 |
|
MD5 | b5eec6a80a1ec5a4144a7de3ace4976f |
|
BLAKE2b-256 | f0c270415601560c51bac5d2480af413cb628154466cef15b69d95d298f65889 |
Close
Hashes for etherbase_predeployed-0.0.1a32-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d1013738d37c6eae5d880a496ea892334a87d9f04379f5c1633fc8ba7278e4e |
|
MD5 | f4c333eb35a8651c5f8b5711834ee638 |
|
BLAKE2b-256 | 2e62b0a6c730fe292f9574278db27a5de29e014a716d44f473e799fc01279ce2 |