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.0a26.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9aa52b591dc2024cfaf13bfcc92ce6854e1d97f752b0fb161accce3269d43c83 |
|
MD5 | a6246d79278caa42fb274a77d0c8bf54 |
|
BLAKE2b-256 | 095f2d3f5c78e6beefd2cff6cb5542d8adefebdc92d7e210ee790ffcce0b4989 |
Close
Hashes for etherbase_predeployed-1.1.0a26-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c915798f84a7e1b5541c33d0c6954dd7e9c4e514e6d50b2305e2be788279076 |
|
MD5 | c4569ef04ea43c4e463eca0cfb2d8371 |
|
BLAKE2b-256 | 7a1b2e6dac149b285364326196cdaeb52872350fceb35382206f6c3b59b8c4fe |