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.0a81.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28c184aceb8cc348ab4ece43a4bd2e212d31b951e03e275b730e03fef4b08b2b |
|
MD5 | 15141b83f9e19db497f56295b449b1b6 |
|
BLAKE2b-256 | 7bdf521155facfd77e2fe71887d285bc4af7075d2428d8740706fc8395c7f71e |
Close
Hashes for etherbase_predeployed-1.1.0a81-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f167e27e915c5f25f357447825b48411439f81fbd61613faa8ec5ea6e2b6e07 |
|
MD5 | 4b54483a5ca8a03c35139ea20f9f3f15 |
|
BLAKE2b-256 | b86d9286c9fd173ed23bd3193177e154b13a976683f31aeb393033669706712f |