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.1a15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | badf23f863c72de1777ace5b84d52bc671d60bf28b5c2bf9573a598d294252db |
|
MD5 | b9bb7297380b7d03849c1e56d7ed924e |
|
BLAKE2b-256 | 274def1b5ad5382684c77c5b192da726937ac7790a9facc97c8bd34384d9e306 |
Close
Hashes for etherbase_predeployed-0.0.1a15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d43be59facd543751dd4fa017ba9883ac4e394c23de8822fccf40623033c7492 |
|
MD5 | eb28e10c3343ff6ce3c419135db6ffab |
|
BLAKE2b-256 | 9b525af2755091e384f3d47cdda5419d6ce794b92fef95837517a0ebacadfb91 |