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.0a89.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7647a5c8edba0055dd2c0765ce7847379d036f9ee392bf145fbebc111a110957 |
|
MD5 | 6c367e97736df6566fbaecb1230baeca |
|
BLAKE2b-256 | 2c7078151dbf30bbb4c9c4ec9a9cc454aefbb79ae8f61d09db67070c4942e9b2 |
Close
Hashes for etherbase_predeployed-1.1.0a89-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d083c6f1e048522bfd863930a4ea42d0201533752665520edc030e378aa67e5d |
|
MD5 | 790fd8b85af4840eb567faa63f586ae2 |
|
BLAKE2b-256 | 9c079aa8d58dd0b131ca81da2a444913417acd375bba43a68bc19ae3386b28ef |