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.0a75.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0835c1e29ab223abb1b6a5afc1f91bea9889c9168a06d2e02c22916987e0013e |
|
MD5 | 06369fa240b4a09f6517cb7bf5d643b3 |
|
BLAKE2b-256 | dafa5a075df0c85780d1da9bfd6897a297983e53a469cf942176a96c8dbe4a3d |
Close
Hashes for etherbase_predeployed-1.1.0a75-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d0722aa6ad8e8f922ccfd6bfd799aa11a672ab104cde562b8b2475f919ddfe7 |
|
MD5 | dbe641b4634803682e7578ce1e833be5 |
|
BLAKE2b-256 | b05c715b124f972990c80bf54e0676fa5a2da4838d4872e8f6cf68b89860c7f8 |