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.1a37.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 794eccb02acc15894a6bd0e6dab7a6a7e9adf29dc4fda2b737fe819af5f6f1a2 |
|
MD5 | 18a8c4dc53992c6e34f44d8adae83524 |
|
BLAKE2b-256 | cfea47c6218b2be7f72d4e85875faa9a74376391d1455c6434de92ea7683a6f2 |
Close
Hashes for etherbase_predeployed-0.0.1a37-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7e2ff8e09e37456923350e3d10b0cab2a447344aa899ea8570bdc1b449bbd05 |
|
MD5 | 1c8e2fcfad1cf9b5f5aeb51a3c6b4637 |
|
BLAKE2b-256 | 0f7f2c82880470c2258aeb26ac9edbacf7fd37f0408ff75d05170f551e150cd6 |