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.0a83.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1982245b457c58aa744ced367afef4466d5ebcc1e6263d5235c650b90ff0eb99 |
|
MD5 | bfc505ff4b1f614d518b2fcfcc35cfef |
|
BLAKE2b-256 | 5e5c471a399deb88131a5357d03ec25fd2a3373b1a3d90baf6bf48ecfdb438a4 |
Close
Hashes for etherbase_predeployed-1.1.0a83-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67fa4abe6918cc3d1e84e7d948a6cecef6daea6b1245060c43d094f2faf14bfa |
|
MD5 | bb6ec894984adccc2bd9e865c851020a |
|
BLAKE2b-256 | b04a363d1eb08a907b1e53263a2c8de1a9a970874037d55a3cd50bdb11fcea40 |