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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b2a9bb8d028392b9bef712f650c6ef98205f4d81d835c989cf4fbe3d950afc0 |
|
MD5 | 6a302f039ebc70b92d314d0a363da2db |
|
BLAKE2b-256 | e72c88076f2a83b6a46648e1ead274125100193a195c45847c2006bbecb2e251 |
Close
Hashes for etherbase_predeployed-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89029ac68ef251507c30ce52669b798b6713f5b7269aa3a18ca77169172da70b |
|
MD5 | 4ee411bc91661f72fd20e5a317eb74b7 |
|
BLAKE2b-256 | 982a52905cb3cea9589831fdaebe83a6ad4b1679e9a287aa459126121d52f4d0 |