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.0a86.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0ffa60ea54d6cb2b3f8865d41b0e5d806e7b7dc980e25ca95af0d22755a074d |
|
MD5 | 2a74632d9dabd0acf1a9479452cbd962 |
|
BLAKE2b-256 | 47aace167aa610316559ba35a2851e7c309c318636688fdd80f32caa6bbaf520 |
Close
Hashes for etherbase_predeployed-1.1.0a86-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7b18219505ced1391ae8ab0451b0115dd0d050091d411e5449a47c0a307c10d |
|
MD5 | 29d793a23652c458206c3b2222746921 |
|
BLAKE2b-256 | c9f234308907f312358cfd0b48608292568b4bc576f1218b73d1c1fa1eb8a3c2 |