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.0a7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18136216db10e345821e362a61bc8747e220c74e1fa4729df801f17d0a88a651 |
|
MD5 | 2ac194d05bfcbdc7de99498cfa019055 |
|
BLAKE2b-256 | 0dee067f5184df735e335f0f7b929e5b43e903d5dffb600d7ac308e8db35ef61 |
Close
Hashes for etherbase_predeployed-1.0.0a7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15b2b5f39945b1f27f7364a77c5e08932d56e216f613b9260c2df27690094b10 |
|
MD5 | dac5955126f5f3d60032c3f117073cb8 |
|
BLAKE2b-256 | 08154a8cd98e5aa8a06232976a4f9aa2e19845f449be3423da8073353bca83b4 |