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.0a34.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae79365dad36c33350057558e6addc5ff90ec68604076788b9e688ee4b3c1b01 |
|
MD5 | 0ee457bb14251c4c87f8451a34d35293 |
|
BLAKE2b-256 | 99249a8bf69860c958be7813fee24a047d0a25274fa04a92f20a22ad73caa7c5 |
Close
Hashes for etherbase_predeployed-1.1.0a34-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf4989b5fd5563a9c46c0cbd73ea1151b00165103772bc724b22049ec3ecaa9f |
|
MD5 | b2cd8a72940dbd570ae563ea1cc5dba7 |
|
BLAKE2b-256 | dccdb28016b6f3dfe9381af87ecccbfbc47cc275d615c77af8af378760c76438 |