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.0.0a8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 167867cd8df017aae90356762079eb946fcb7c0a2362a211cc62b88ac507e180 |
|
MD5 | c8f7b73a5aaaa4cde8f58cfd5749be1b |
|
BLAKE2b-256 | f32377868e7d45cf9b7cf531b36295a59cddb40901f69c5902c59d93a5af441e |
Close
Hashes for etherbase_predeployed-1.0.0a8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8871cc2655bf351534dd49c1f676fcd42296bebcf7bb3b7a5e019ad7e3c57723 |
|
MD5 | 79e10a2b44d18d7b5f15c1a8a6bea601 |
|
BLAKE2b-256 | ce136822430cc9dbe313d80f249bcda1dd622aed6e203a1d0cfd189d70ac43b2 |