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.0a14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ddc8014fc0171b3294f69d4d0cbf134bb8b85e19d8dad9726f7ad46c35c4f16 |
|
MD5 | 5b3a8264826f867e1cbe33978381c037 |
|
BLAKE2b-256 | 01c41689d4b885234dcbac57d690b1f5e5a9325c31dcf04ff5c9021bba749ebb |
Close
Hashes for etherbase_predeployed-1.1.0a14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6cfb8a84ad3c3fd5ff0f2c7916cf24b85e9f7a32a65a35ddbc437e51d8f520b |
|
MD5 | d32b7ad04c10c04e9a6c05aa3adcec3c |
|
BLAKE2b-256 | 5c67d6671c20056b92a47d43829391a2930837439afcd0a630499c623d375982 |