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.0a19.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64e1dc0b07cd91c4eff80c54c58496690f7f2c0d0920b9e9e60c2683d460281e |
|
MD5 | df05b39e83e254cef71524333838e3ec |
|
BLAKE2b-256 | 7720ef5dabc075a5388ea0495c5eeab95ad7e66b806b7b0dbe463e9fc1ea4340 |
Close
Hashes for etherbase_predeployed-1.1.0a19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7383d2273eea8a817ed13890918b7a2f4bdb7d0a1321f959e6e73b522197632 |
|
MD5 | 08edcc6a071fd6cb4837a3b254deb6a3 |
|
BLAKE2b-256 | c31c57440feda80c1f5b9a3aa326a4bf5167032efe30e2cc70cd9bebb1aec3f6 |