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.0a50.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bb5066b109191dc49b7f731e58dbd6bbd43bf0e411ad7d383031752df8d8bc0 |
|
MD5 | 4fd639c2d3aca1861ee932906970ec7a |
|
BLAKE2b-256 | 164ee106a413317f7c4d70489604bbf238ce67861549b1244aec4147887a1fd2 |
Close
Hashes for etherbase_predeployed-1.1.0a50-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 043942268aa261f66e65f06c5f6c55f8e874cb8c3dccfd5bd9234e3f4068817e |
|
MD5 | 8852c9057c863cec5e8f47d571c3ba79 |
|
BLAKE2b-256 | 26211a50ba33e4009fe6292dacd9c76ae74f7f9adede191898f87ced8a2f454a |