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.1a23.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ee40561b03f2a36fcfa63f0f10a2bc6afd200a9d47cadcdf49aa2e46e4bea8e |
|
MD5 | cba9f5a7c25af06b4f5504707f3bb52d |
|
BLAKE2b-256 | aa5f854eb4eef9362b0313c2b09306c9d54a4ceaf2bd0cd318018db6e3d59625 |
Close
Hashes for etherbase_predeployed-0.0.1a23-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe376bf3b91b0b8b92f3f902f6d354bc39cf6945b5e616b129c71440741b6be1 |
|
MD5 | e3c4509084f172a625d64a4b4b2b389e |
|
BLAKE2b-256 | 2fb428d848dbe66bff044a201b1388da962af1f9c865a6132f4bdf5f36b28dc2 |