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.0a13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52d575d07866824cf91b76a6aa00528fab05f5edcf8c24dadb12b4a434625068 |
|
MD5 | c27356cb261cfe295252e8049a9e8cbf |
|
BLAKE2b-256 | 703c2acd9cdec65514416abdd48dd9d5c9134b840a81f528eec05876388dd322 |
Close
Hashes for etherbase_predeployed-1.0.0a13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c38923b7e9133d163b8dfa3d6b3149385a37b9449537b184d2c135a2ecbadab6 |
|
MD5 | 01c08d2411f7d5f3974b3577eca88c5d |
|
BLAKE2b-256 | 5977bec480abde6bf6dc9e4af6f95b9adccd5a0c0f168282d4b4c7ff61bf650b |