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-0.0.1a34.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4deb6947a61ee234747ad9b206620c3834042ea068adbbc78ef89c5740cf71c |
|
MD5 | 23930d183286a8ae5632d66610a426bb |
|
BLAKE2b-256 | 05264d47e48542fef0fc30ab5b2deb1a1a6904e4186542af02dd87943e1f58da |
Close
Hashes for etherbase_predeployed-0.0.1a34-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90d0e671ffe58fc8eab111aad2ec6ef7f06304b0e52322e96f7119d64863974e |
|
MD5 | 5ec14b02d7eab20aa57e22ab5f9815a8 |
|
BLAKE2b-256 | 4b002cfaab805b1b3e319fdaa409bc74829f0102a321b8d615bcb05f2afbff2e |