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-0.0.1a20.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 755e38f828a78a8063769214373956640bb29bf888116d8e4130f367fe2634f5 |
|
MD5 | 2923aa015c7a81878e7682d237b96c74 |
|
BLAKE2b-256 | 3e6787ab72db89a367cfef86bdd4013d731257f58bebb7d53afee4601c835364 |
Close
Hashes for etherbase_predeployed-0.0.1a20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d771407e7733124ead721fa2daa4fab7603ba4a0f96b92fda9b4ccde267f4f6c |
|
MD5 | 8cb548793b34db0709bdc0635f3c30ba |
|
BLAKE2b-256 | 5ad699ef294aabde726016aa48ffb2885a92b83206fa699972a46c37061db66b |