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.0a53.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e133a20186ff9e5b472011a99a6e1dc2ce12608ff5a25aede6e19d354646930 |
|
MD5 | f1cae41b448265fec793e39bbeef72d3 |
|
BLAKE2b-256 | 41ec4c372128ebe016f5dd5b8756f083dfd8c0c4014ea9e1a6f70d88880ac58a |
Close
Hashes for etherbase_predeployed-1.1.0a53-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c6b86c05b3b2a4be7db85d53b6998364cce9b54d6e03ec85c7be8f5784ed976 |
|
MD5 | 11bc9ca6bb2db81bbc136283ef21db4f |
|
BLAKE2b-256 | 9b69bca572d347530df212230c07929f1b03a2b47f7ac0f0df24c549fa5ce20e |