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.0a56.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f561a37a9a2a40ff4c9b5235578c1203000d89589062a0fa9564b27a3da4e86c |
|
MD5 | 06f535f87dffe16acf3608c904be1a5c |
|
BLAKE2b-256 | aa05742ffc30fd3387d196335790d69ff00e3071881a3494c41b907c3690db84 |
Close
Hashes for etherbase_predeployed-1.1.0a56-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f95ae91f789a4713b1fe45a316324295a6f85178bc4c9179f47e86c9fcfdff42 |
|
MD5 | 1b3ee2aa957bce1e35191d7a68c4114d |
|
BLAKE2b-256 | bb1089f4dda4d01bf9e75ab6eef1e7e222fec1f109fb60b666c6702478984e04 |