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.1a26.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7e17d4c782696ba6386b62f241f064ee2f0502ad46da8f277bd73cb753a6735 |
|
MD5 | eb27fc8ed9d5e5f3cb4202da139c1c84 |
|
BLAKE2b-256 | d6972adec273be9fcb240dcd1a9929a74f9dbc8c6876ef2c6e6cedfd3d8277a7 |
Close
Hashes for etherbase_predeployed-0.0.1a26-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c99a61e3771f113d745804384462df49a66533d1c41cd17b084ca24f5b0f926c |
|
MD5 | baba3ef327f7aa34218af2c5d2525434 |
|
BLAKE2b-256 | 3c334eef748029d6d60001902ad1297b2d797f009715078711cd949db0ad1a37 |