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.1a19.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81ba185fb1b484ee1fb7975f7b9c6237c27fc4efed1b99f3e45c74d84d5c07eb |
|
MD5 | e4a0957c31042b7925869145ae6f02d7 |
|
BLAKE2b-256 | 22fd3215f0083c4a8469c2744931bb539c016967700af39c86006613a9a9f9fe |
Close
Hashes for etherbase_predeployed-0.0.1a19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 918b9f63ac3e5b92898b85b7a3692313bd832f5bbf4f098abe085d56ed4ba35f |
|
MD5 | 6f8b104c179030eacbaa212ee7a6d1bb |
|
BLAKE2b-256 | 4e1bc5a07c8dc2f53d28671fa8e13fa7938289e3414b5788c967845b8673a980 |