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.0.0a2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68a98fafc4255b89dc30396498887f84321f3736d103afe9c01e89faf43146b7 |
|
MD5 | 0182fc9e0d2a130cc573df31072ed441 |
|
BLAKE2b-256 | f61cb387619e72e74aec30eed117f08007a29c04cbf567e7961fe6b72a28183d |
Close
Hashes for etherbase_predeployed-1.0.0a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 307bc79978915cb3c8514c7f435d0e559e98918e68530c0459b1e9afc6e89923 |
|
MD5 | 1e104142a820cdda0097c8931c907b15 |
|
BLAKE2b-256 | 81e6d1c4d59638ccf4c220c5647464aa5b9709a3dcf0ce1e97c23604e1636c1d |