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.0a45.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88f8a5388e8216d81034e09ed4cfd14415654c7e9d595a0f8c4a7b316e286b16 |
|
MD5 | 2fdc585a33f0429c5b308eff051c035b |
|
BLAKE2b-256 | e00c71b87255de65cf05f5b8dd270e71d810d01aa85b40f82c94939d41dca8fc |
Close
Hashes for etherbase_predeployed-1.1.0a45-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41166a0786d388aa2452add68d4016a437953975bae57442dd095c41544cce06 |
|
MD5 | e53eb08a0f2ae04ed9eb2f75acdddf62 |
|
BLAKE2b-256 | 1438f87d32bd388bb39c39770e55ba318d3bbd2a3b540b0a121fa3ec54672566 |