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.0a4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f69eb5112ae488d36626885eb1792bccdd89630f56862b46c09a522a929c279 |
|
MD5 | b7f3475ce51324c05107052de8fc106c |
|
BLAKE2b-256 | 19c36f98c139ee308a274006dc4bc83a5c0ec631e7f86e955efb86dbe12aa884 |
Close
Hashes for etherbase_predeployed-1.1.0a4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5bc2ca379b285e97ff1ee3419e38c0f8312112003341e19a231b44d1845baa2 |
|
MD5 | 0c96f10b7dcb6c0651cbbd77bb91b9db |
|
BLAKE2b-256 | 3edcd10ad9342fba8fd0ee8508edb3beaa215078f41ed530f4634cb48b0b55f2 |