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.1a27.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9171fd2a9af4d2ef85858b8f8aa6fab34fa58cbc60a9293a0b556a48f66f5cc0 |
|
MD5 | ffeab5c6d3639897b4fc2cea030d4c26 |
|
BLAKE2b-256 | e370f58a25eb0c1262c3650ebcc6504084354c016e8d411f2de83287c0f94ca9 |
Close
Hashes for etherbase_predeployed-0.0.1a27-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0db5177a7dcd586c326bba25dc9399e1813d8d3979e3294843e10b6f946f49b1 |
|
MD5 | 33114142e181d574fadf502ec32fca87 |
|
BLAKE2b-256 | eac54965d21d339688de8be272b12725cf24dbb462df8b073f3325fc28fa6cbb |