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.0a80.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3d8c3babdc1df6ae491d8475c8dea529ea3ba9a35e2df62e57430cdb801fa78 |
|
MD5 | 84f964e2aefc3e7cf5401d291dba2b8d |
|
BLAKE2b-256 | bbf6398a7e6703745fb00761be0d91ebc86d2fe5342721b69da4c8957698dee1 |
Close
Hashes for etherbase_predeployed-1.1.0a80-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fbfdc47c45c84dd7e5799a9b70daaf9f3b7157661ee35865994b8538b6a69be |
|
MD5 | c029244c46424b7a5461b35a6cf75d60 |
|
BLAKE2b-256 | f21e0e391e79c9e311cbd1aea20363405797373a100a914c81552942e542202e |