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.1a25.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27c0ef5c121cfba3c4388dff00f902fc5d197c76effab3a04cc62b0dc41e75ab |
|
MD5 | 0f41b78d4c8175fb50e1525b5c7fbdde |
|
BLAKE2b-256 | 4c926c00381859ffa63df98f9057842818a2c205c9cc110e0c4f71e9551ee977 |
Close
Hashes for etherbase_predeployed-0.0.1a25-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a503ee8c7c639f3ea7a74ee13feaf09ee92b2ea2d9a8445c166ad6bd412b6491 |
|
MD5 | 12d3e843648ffa94a43c4b93d41d65d3 |
|
BLAKE2b-256 | 8eb05dfbed33867686e129c22d456b238d2eb138aeb7b0c5b0455570d6771e70 |