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.0a18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b45cf7f25c13caa1bec70dfd931b350318b71ede32257e9a7d3599437c432e01 |
|
MD5 | f08b84ce927544498303ae744710375b |
|
BLAKE2b-256 | 7344436dc70e9d3d9faf8f2c3195e5e91adf652df07129dd30b3a8d1adaf2881 |
Close
Hashes for etherbase_predeployed-1.0.0a18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73683f44fe74f4d1c1d7d10969cf1ca8b53132e0ad22c7c685ea3ed802566ab3 |
|
MD5 | c44ab779f441682d9d7c610056b8c20b |
|
BLAKE2b-256 | 0f26fc775a61e13d37408f9bd5607bd962b95e83116713734c139b066d1bbb22 |