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.0a5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63ca4112e547e6d1d9efcc97097efa3ca26237a64eb3b5b4a0dd15dbc615208f |
|
MD5 | c0806e176f5c5e7a1604f5b0e0d16ef6 |
|
BLAKE2b-256 | 5e61327aeee4b57db1a65d94786a9a94e52376cb209e692b71b877572da6116c |
Close
Hashes for etherbase_predeployed-1.1.0a5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b82fa161d5ffb4fec26a41b71862d69717399fbbe0f8d90e46fd1a567d86483 |
|
MD5 | f66f79e08335070a478c663e5f7fde8c |
|
BLAKE2b-256 | 2c0c7644aa3b9495180b80e5873892e0aef860a260c31e9b2cd37f05f84a558f |