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.1b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3493a38795a26bd76a63d6d4493c16b6a93fa716dfcd8bd5380e092b293092e |
|
MD5 | 1184dbae3982e9d8e45e64d401f038dc |
|
BLAKE2b-256 | 47532067446174975493a9726eaca30c3e70fb451c2e08f40a6986955a4b259c |
Close
Hashes for etherbase_predeployed-0.0.1b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7dbe04148223db8ca6dee2966327bc2fed2656920aff8b8d3fd12eaa0068154 |
|
MD5 | 9f97e6fd196322c9fd18aad55afa6900 |
|
BLAKE2b-256 | 4431c4c417462f22d43fe9c5aa2e19e7aaa6a03539e5cb89d3cb8e86501fa54f |