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.0a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55e5ebe0bb992d3830e31393daee9229701610f5f5632ea5fe524fb8995c94c9 |
|
MD5 | b88ea305d5e6e697fc97cb774ad266fb |
|
BLAKE2b-256 | 88939bab318fafe63efd3a3e98fb5c569710d301fbce1e5f7e32cdb28643a8f8 |
Close
Hashes for etherbase_predeployed-1.1.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f52785f04cd66d4a46c358ebe1153c577777cea13936200698a111a219742ec1 |
|
MD5 | b6f0cf663877a89aa90b2a376d7a8f7f |
|
BLAKE2b-256 | 251b571461e005bd78e0d6885c82064e9d6d8c9a3e3d53d1f7d65cc1b3657c61 |