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.0a6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08e28b26b6f43b17acbd0b5b0af78f9e78151f4a532884390ab0c7cb656d6349 |
|
MD5 | f14f8f54d14236facfbbe7ba12f32ac6 |
|
BLAKE2b-256 | 0a7df9418a997405c9e5f2195d0a229f1aaae518679c108e9237fd62c3e7528a |
Close
Hashes for etherbase_predeployed-1.1.0a6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e53aa27acbcc51d78cc235eaf429b2327ef665f85df5c218c3003946bc93bda1 |
|
MD5 | c037df13ecc5f0bd1699a5fd31e523e9 |
|
BLAKE2b-256 | 1c886be8d30aede1710cbc8a61e2844de3adf0478cf9d4c3facfceb55b5851f5 |