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.1a21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1a95ac58d89bcc1ee344131a6fe20e9df847fac125f19b4ecf315bbb45ef56a |
|
MD5 | b296e1c11a433ba3143f886ad05ffd28 |
|
BLAKE2b-256 | 923d444c7ebdc69d22663702726497a0f9300d38fedf9d3a95cd909140a0a4f9 |
Close
Hashes for etherbase_predeployed-0.0.1a21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | abf70bdbe3d6c675aa54f21e100ed890d74b20615f389f45debd6fa950cf16a4 |
|
MD5 | 0188794a8bf902fbf7a26ed39074f893 |
|
BLAKE2b-256 | 07f4fbe26a1aca5a12af8404da9dabc9a268bf4ee22b13f98edc4ba88c4b5068 |