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.0a85.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 667ebd5d69c42216af1599ad09967221333767f33150847e4ce8c78b835fb17c |
|
MD5 | 936ebefeaeba977f600339f6ec40c23d |
|
BLAKE2b-256 | 8a405c422e23263ded52323ee8563d73e70044777ffc8c55f2c560ad951d405e |
Close
Hashes for etherbase_predeployed-1.1.0a85-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfc9231283bc1bc2ee9809696347eb1dc51b177122e23f881b69a64095fd4fd8 |
|
MD5 | 08408104340aa3cca0b97ba306524f77 |
|
BLAKE2b-256 | 40f710f01049692877db3fb63c720777981825ba0673bb0cf5c4a7de2a417c8c |