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.0a17.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 132baba55c77938c6a0ee2da66ffe960b723ac0223228f0bf92d6f83b671efa7 |
|
MD5 | 05faf7c782939c7b64a2bb45f7f5721c |
|
BLAKE2b-256 | 7a4fcbb49d9549ea940de304c9b3a2d6953825620356a9467593fbde4d620006 |
Close
Hashes for etherbase_predeployed-1.1.0a17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 940f68c8af38a27b105f75faf687455ed170ec0a0d595827115164d9aed29bca |
|
MD5 | ba92f8c60354c54c7744a1cff0b3d33b |
|
BLAKE2b-256 | 1f5f822ee5a4411681c828f01858eca56bf0342eca094c59de1fa0d6d5d1b2a1 |