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.0a46.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3c3b35b60cf5a4df6b44a9aacad618bab2cd293525f81aaa23adff99bd9df1b |
|
MD5 | bfbfafa2454e001ab7cca6f8d2f696cc |
|
BLAKE2b-256 | cce09b69e6c707d093dc6da867d268186443c7904c79e137104ae467d3d68771 |
Close
Hashes for etherbase_predeployed-1.1.0a46-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32a85b0ff64624ad7141450589adb13ca28664822aff63ba9ee36f38e555bda9 |
|
MD5 | f078d13390b960f8562110bf802551d3 |
|
BLAKE2b-256 | 9a4d7f3868bd4174f4ee8709f5b594761c9116495265eda3cc17adbfd2d19580 |