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.1a44.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62d0f1e5b1f43aaf46fa4d79ac45d5ddd9e802b8b051df503fcebe116542f0c3 |
|
MD5 | 002d6166f4229c1e8731172564d4a75a |
|
BLAKE2b-256 | 13a8c8ddef9384962e14ccb3a510e2bb1a28a0c0ecdf67d761a2712370c1bbc8 |
Close
Hashes for etherbase_predeployed-0.0.1a44-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7380c1c6d184f1302354852d0c803638161730f62b59908ffcd4c41788a95fd6 |
|
MD5 | dc31f95a15d0593dc9a496189f7d25f1 |
|
BLAKE2b-256 | 3e4f3b15d5335d95c29db17e3ba0e626e51c5ea40e2c2337ad3c0165ee639c6a |