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.0a82.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93edc349a283ff73d87eed91253afcc96ab234ed638b8eda379ec832f77acb08 |
|
MD5 | d72b7b5fd6b092312c4220e068b990a2 |
|
BLAKE2b-256 | c94fe3f71512f8721f05f21e132639c2dcc7cbb6909341c8770f573b86d2377b |
Close
Hashes for etherbase_predeployed-1.1.0a82-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13e99a14fc6b5ff2d06f1c17e807c78a209df1762f372da6339be1a3c4b1b855 |
|
MD5 | 22789f50d79ea612a9ac4cf23c66c4bf |
|
BLAKE2b-256 | c1099bac507d1927e68535895a8339d389a2a00acccc0d9a91f64a81ab75ed6e |