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.0a63.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c154eb5319f14fb295c2952507e3c11e219a14516906b3a1fada9d0f7cc14b7 |
|
MD5 | eeb20bd64a756e895ba409d8f8e6b4ca |
|
BLAKE2b-256 | ac3060ebaab11d6d8ef393f9bc4c407ee841866c94f0c43c686800d7130a4297 |
Close
Hashes for etherbase_predeployed-1.1.0a63-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fe718fe54ecb02c89329205aa871d162d2865641e18cbeb9d22455b1a344158 |
|
MD5 | ae249b6cae21f26f4eef46ba9aea9203 |
|
BLAKE2b-256 | bbc489b40f41ef2b61aecf55eddf5c00e9ab14dc4e7c5cf34d620e22aaf66003 |