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.0a49.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ad5a43878014059ea19eb2e0d2d622b3cc7a63aa8fbd7e24d18ae0136c43baa |
|
MD5 | 1b43a2dc47c31d8473d97c910998deb1 |
|
BLAKE2b-256 | 5fd7616da93848b7667743be3f41a40511bd1b829c53e4115aa88a15f120435f |
Close
Hashes for etherbase_predeployed-1.1.0a49-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae2b3e66e699bfd41b1d911aaa046e429aea8eee6a753391de6680e5b19cd197 |
|
MD5 | 665f1f87ade8f0e224a8adf5d849df22 |
|
BLAKE2b-256 | aff05fa19ead717f34d4c0227ea607a43f7f25166f05247ead9e001beaeca0a2 |