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.0a43.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e19f97ceeef1d388b7295cd95fabd8f8f84def658fdcfa45e8eb7831ce5fbc77 |
|
MD5 | e1904b26ddf373688125289110acb407 |
|
BLAKE2b-256 | 07651f2984b648bf98874189a04157cc269d94a311bc2632de6a9ec15ee94606 |
Close
Hashes for etherbase_predeployed-1.1.0a43-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce1fa37f4f6609cf31958036a467255d25d9b266b018bb7d2a4bbc23e1a9a751 |
|
MD5 | f1e059b37c575db4d3c262d8ee2dca93 |
|
BLAKE2b-256 | 3f89084805a77335fb346d2309b707eceaa6c6e68cf497b1cf8e52213c683406 |