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.0a79.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7871d21d0fe0d03e95b7046e1fa4c36d7d49d6c1cc052b3eebf1c36236b83f6f |
|
MD5 | cb5d212209e501306f7b57eac03c8d70 |
|
BLAKE2b-256 | a57ce09992f939df709c078d3fe04e9e3a7efba2ce12a27adec9a0219d153650 |
Close
Hashes for etherbase_predeployed-1.1.0a79-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34b19a0aa373bc2c7393b0d71bcbb4aae94512def02d3fa983c5e12c668cf555 |
|
MD5 | 03e1d3be992707be3b385a7324a6967e |
|
BLAKE2b-256 | 4c4f62e125e851210e325b7de81c13fb50b638be261e3ad3307af9bd3381e5a1 |