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.0a2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bc7ff286444028a55afea423cb528a4d7b131a44c6968f2b7d26531f78e2e5a |
|
MD5 | 468096568e04ffe3ce66af8eb3ebb0ef |
|
BLAKE2b-256 | d0be8227a87ae1957b4836e3fec115f46313869cf56231977cd590c68cb3b19f |
Close
Hashes for etherbase_predeployed-1.1.0a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1c9d335812eec4f973403ec2585ee36381d6c2115f7d906d880dc7f4b4fbf5b |
|
MD5 | a8232df1576011559e5582ada92e2f57 |
|
BLAKE2b-256 | f9406cc1a3b664f8602a873327c7b0308afa13a7a1b958dfc4e819dd649cb019 |