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.1a29.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dc0c8a0f9faf28af543ffec60e805d9846ca2b61d034fccff22c85eae772351 |
|
MD5 | 8be37550697e7da575f59ea8aceb7928 |
|
BLAKE2b-256 | 5f71e65d5e8452646c7d87aeab2bbb3d72e80206d9e7ea63ff781f9d21bac1c7 |
Close
Hashes for etherbase_predeployed-0.0.1a29-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1d30c6d3f6313efa6b6394401577f1c3a978a27b240829e3ef2d73853ce8ebc |
|
MD5 | b0db9d02b2ca38036afaf962a5612f1f |
|
BLAKE2b-256 | b5d5dfb285620b0edadb0a4571950d5feed945ec0439cf377a66fee4b9e24c55 |