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.0a6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b68878c15f1053b17e92dd4ae73512991875034ed8fe828a177a902c910d7eb |
|
MD5 | 796b6af0c17e27a38aff110150c7d3de |
|
BLAKE2b-256 | 812320ae8e833c669d00c2e817625d78acdb05f55019a4c397e6b9dc223782b2 |
Close
Hashes for etherbase_predeployed-1.0.0a6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65c74fd9d490693088d6d516d6284a34247e4e22684b2265878b68ca33712e5d |
|
MD5 | 88ed6c6f878f126f567aa1d54fd1d7c1 |
|
BLAKE2b-256 | d3f8cc5494e8c059451fa541fa8c749952827cf0714c325c2f31ca93dce004a6 |