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.0a13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f998f3221eabbfcc6e2824cb0e288f50e0cb81024e274efad9e5fbb42a105c27 |
|
MD5 | b3031d1306cc68a6058587ef3e1d83ea |
|
BLAKE2b-256 | 6541ef8f617bb02a1217f2cc3f465a3558a82a9c135acdf908c7096d66b75d47 |
Close
Hashes for etherbase_predeployed-1.1.0a13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6698fe0cca948bbba0064d7d45d533781a5e5c1b91f421a1ca5d839a5cfc2432 |
|
MD5 | 9f829c14136e724487629a4af3115382 |
|
BLAKE2b-256 | bcf8ee15ee85ba8129d16d0f356023bcdb531923233a0a54ca4a90a8862e3815 |