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.0a90.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c75f53f6f3124bd8861c0d17b980bf51029022095d58d337ef650b754b31c145 |
|
MD5 | 4e55dd96c3c0f5b06abae986d3aaba9c |
|
BLAKE2b-256 | 143945d21742431ee2c0c31a43efac87406440c3d752e99d9d6ff9f9e33deeb0 |
Close
Hashes for etherbase_predeployed-1.1.0a90-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c001a300d2b816972cc4931f81f8fe6c9453e24f5cb27c567f7cc2340c193a5 |
|
MD5 | 20f3cf3aa57a52528cfcd02db0a52d34 |
|
BLAKE2b-256 | 7ba51f6c2d649449b9a05f4cd8649dfa375990284caa64c2ff685a2a7dad4992 |