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.1a10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0402dd649679d411c510b5cbe95c9cc4f418c7105d86eb8e1f0390c383155b6b |
|
MD5 | 0e7a234d354d82d19eacab852e24a3b2 |
|
BLAKE2b-256 | 49b6b94b85102148d2cf699b73b2154cb6503544c126724fda8b26d22f5271ae |
Close
Hashes for etherbase_predeployed-0.0.1a10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d09b30703d4cbb9e8f7d560da940ada07363ccf23a3908777bcf49324294aa19 |
|
MD5 | decfd580fbdc2942266a0ab9a2c84b7c |
|
BLAKE2b-256 | 277d08facdd49579e6923bfa6e1e8b17bc9f5d873c1633a5810f23ec9e4a1b4f |