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.1a6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3af41cc469bba8f622506fb83dded3836c09d05472b8da3a1bdd94d5fdc2ff9b |
|
MD5 | dbf53241739195e48b2adc923ab99871 |
|
BLAKE2b-256 | 763ebb2e50bb8062051c0da6e22fd7ebce374006c1cca3b9d9b58d53a3cdbed0 |
Close
Hashes for etherbase_predeployed-0.0.1a6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0b55206a220b73899cf8eb0cde379afaf7894ca723dd27a7eba708bb00d0705 |
|
MD5 | 66d9ca7c0c78e4e5973d3d9137654213 |
|
BLAKE2b-256 | 495185ad053acb780bba7a93020fb1f37c96584e52136160984056e463fe9137 |