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.0a40.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1fc047731f8cab79588142529475f25cb3237ac8d9be2abb5e966eef437838b |
|
MD5 | 23fcec13ab63b7a29b893ec1d8c674b9 |
|
BLAKE2b-256 | 25fef0f1bbefda18380d605f7701724ae89dc9371f9488a755ef4ee616b3142f |
Close
Hashes for etherbase_predeployed-1.1.0a40-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af96d4a1df1689f65eba7c378ed917d1fce6f7992fe287f6c869a95119fa747b |
|
MD5 | 095068cc0c581f23b54313a14fe7e8e3 |
|
BLAKE2b-256 | 4fda36bb6e9a08199c29a1cbb9249b164acb46064e4be8cc170566b0d9da0342 |