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-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63cb267171f5009ee5b33b06fdb8e8a0f6eafd877fd1e3a4868badae6de74235 |
|
MD5 | bbef774afe5f21f258ad596cd1047790 |
|
BLAKE2b-256 | 221bea6f747ff03e30f925399de07047ef688b0307c6670e29918c90adb4ad8b |
Close
Hashes for etherbase_predeployed-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 344e0d382d7bdf76dcdec5a49200c42fc6d7f84fcd7ec0e5b0ef2a54de29aba7 |
|
MD5 | 05195b48581983c6b6403ab2c86ed484 |
|
BLAKE2b-256 | a3188875ba4da3f77c02c57c35144f0a9d9cec0b57612343256c53b7b2d4540c |