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.0.0b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 237e4edede2ea34bd2c6686d13fb58b3684a6c554e82765fc175544027035a82 |
|
MD5 | 66e81fe5710e9a627ae1b6e910fe0300 |
|
BLAKE2b-256 | 76df77e1ecdc24a4ac335e5d7a72ba93fcc9eddb481f0af8aee31fd883554b63 |
Close
Hashes for etherbase_predeployed-1.0.0b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab24d087cf30bdeeba558a2b5c8b248912bb0c08ecfd5def417d8ec56f5195a4 |
|
MD5 | 3bd0a7e8c0c76ad6851228770ea7b02a |
|
BLAKE2b-256 | 77422ee0bfa1012bb80e7341fb7f48f27143839e12483652c9ead41ade87d420 |