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.0a16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97bf6f5daac117aa79a214564c2d2f5927b465d841638bb4fe5346f88d9d8392 |
|
MD5 | afcf8c012608fca080008a7e8fbd8517 |
|
BLAKE2b-256 | f3ea8b2d8132ae9d42ecd087c7cc7161a94a1c8787bf58a6342369edbb847a0d |
Close
Hashes for etherbase_predeployed-1.1.0a16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91a5682352e506ceff7fc98aa3a829a3f035826b506e93f3144da26a1563f275 |
|
MD5 | 96c207b1a887c6fe8a5678a8fa550db8 |
|
BLAKE2b-256 | eb85cf40f040d0bc70928f7ce8c9a8537a95327e736f78454553888cf6d4474a |