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.0a72.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11a88b23160bac197d5c649371767975c9839973af499d1962ec872caea868a8 |
|
MD5 | b8a3fe966da857c492b381b80cbb4eec |
|
BLAKE2b-256 | 82adf8b05b44ee4d0ddb8b81cf4804c31aa71f2b38e120119a2454b8b08522b5 |
Close
Hashes for etherbase_predeployed-1.1.0a72-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c37c5b83d514d78e1ffc363e2c1a3ab8dce87d1b2d36d0dc4d7cf1d2bba43f48 |
|
MD5 | e7709fe8e0c61aab4d2eb0ad991cd099 |
|
BLAKE2b-256 | 5f342eab79366c9f66d38190140c2e25acc7108444bdbcc0f47a07bcebe5b5ae |