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.0a22.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c96495834cdaa40c4da98935e3191bdc46410f65bd571ab82df78501126bda2 |
|
MD5 | 704bbbd8c7b506feca256825f3ae1dfd |
|
BLAKE2b-256 | 2b2834895b7359630556110e415808fcc45544e763fae8595b0b759f2b1ed57c |
Close
Hashes for etherbase_predeployed-1.1.0a22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94c3145f62cae6c208da2fcdfc54f130983e9622215e14d2bc63fbe97a32ba51 |
|
MD5 | f81398f013f59e25fc64acfff5e2d866 |
|
BLAKE2b-256 | c2fa9ff7495ed7c78664468de54a7e013dd682499ab3ef7f72cc3dbfe6d5625a |