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.0a24.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d72d4e9d809923d08db942b0d94e631634888552c665b3c10fe244512c14e03 |
|
MD5 | b80ff7953fdc99005a57ef5f74faa652 |
|
BLAKE2b-256 | dae862bef0104276d9aee7ac8aec2a1262628fd1de639073fa1e39d2ad559735 |
Close
Hashes for etherbase_predeployed-1.1.0a24-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f67f5fdc97f0c7bf04d241310e067543e322e3cfa9c9fa0296ac5fc90e5caf5 |
|
MD5 | 91fca443b611b96c8c59373131eaf541 |
|
BLAKE2b-256 | c1df5e1d04fc1c28255b96950c0af6386772cc7baa380ec93d6abeded7ff86ef |