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.0a35.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 546c44821d76620e526fc966e45c281645f6d32d8a46898eb90d397bce5584a4 |
|
MD5 | 55ad5f4bd4ad77e7cc29945ad587ee7d |
|
BLAKE2b-256 | 2f9b00d020d8bbf74310375c64fa0d1eff697628d2184da57181b758f4ab222e |
Close
Hashes for etherbase_predeployed-1.1.0a35-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c38c4e21b2aec7321f12a6f8ec284856884926668c5c35ab5b35e332d239693 |
|
MD5 | d9b9e64f1b24102959be9591834c6fcd |
|
BLAKE2b-256 | 4724b0b1f8770153a1a39c5075b8aa3c6d113cb670d460f820d18332173cb997 |