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.0a14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c6a285cd91096e00b3a85e887bad0cb6a6322080c1f178e71338aa9ca1829b6 |
|
MD5 | 5a864101751a13431fe592e94267f15e |
|
BLAKE2b-256 | c325e544dead82aa7bd0911686b62e694f0256fd8d49bcbeb7ddd4a241ab69a2 |
Close
Hashes for etherbase_predeployed-1.0.0a14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e04754c09eb4dd9b917aaf03f001f3318dfda12c0b778006525426c6d427a4fd |
|
MD5 | 618a8cccbd60b564321e59df4699d372 |
|
BLAKE2b-256 | fbf2b97431d953e34fa7079437da01592bb6908e493d9ee0938910c4c5a11e22 |