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.0a88.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f82b6ad3827af79fa53760690b4d8e9f4375b00d028d12bcb20eedac5c1b404e |
|
MD5 | e08c2dcc8233df7df58384d1a1d34b49 |
|
BLAKE2b-256 | 74c42f6f593b468bd80635214e9e253b21ea116f3204844955b0196ab1a2cb23 |
Close
Hashes for etherbase_predeployed-1.1.0a88-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b15d3fb1fd5694b651b8bb70b8c4ef152ac2ed8e8ee53f01b1ca51d3c2d9f85e |
|
MD5 | a37ae18fa514d0319dfa33b6115cc49e |
|
BLAKE2b-256 | fd50457f5bcb66c953fed39b105b627ee540d888bb0a5dfc3dca4565e7bf92cf |