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.0a68.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 670073f1ca97b951de0530392072adc162b99e65c8b8d3b269a5846bf5b3a7dd |
|
MD5 | 835582934a7b52e3f6811a15a124bc9f |
|
BLAKE2b-256 | 308a161d8ae0288eb1bb6cfee8007be59cc4bfcaa68947c0930fdc2ac5584ad1 |
Close
Hashes for etherbase_predeployed-1.1.0a68-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 116e3f5622836bef6bc4fc8a6848bef9878d0e3524d7f5940b2e2b2b4b391b34 |
|
MD5 | 33895a738ccb4e68490cdfb4dd27caa9 |
|
BLAKE2b-256 | 4650588a504dadffb0add3046d435a513513dac24862fe7cb654cbfb98a66e1b |