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.0a66.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2662b684fc5c385a1a2b37a71c31d0997edaa1100e95dc9e9e80adcca81707c2 |
|
MD5 | 6c3a8638d5e45d5574acdf4b565d4c37 |
|
BLAKE2b-256 | 49bb06506097a350ce768f186f95101566aa9d00fa7cfbdfa13ed8d02a0f4cdb |
Close
Hashes for etherbase_predeployed-1.1.0a66-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e44c627ad717aa447b2bbbcb8eeeb6a7c258b6f179df77a46a0227836520b5f2 |
|
MD5 | 48a3f999382c5119b3dc70f60d2dba15 |
|
BLAKE2b-256 | 491d4b09368f2694610d50cebf3adf34d75e26e1c271aa6a3a5578d692872159 |