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.1.dev8623730274384294651.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7aaf352613018e35ab2446a9dc2f42d2b665e474397c33ed1ccbccd7e79246c1 |
|
MD5 | ee977c58a8b4673c275899ecf8972f39 |
|
BLAKE2b-256 | 2beaef1eca5a61b8c37282176d7d3584800d8035ad034e895c5fe9d57fa31709 |
Close
Hashes for etherbase_predeployed-0.0.1.dev8623730274384294651-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2299628d8a3833283ca819dee1bbf0460d4796845540d999c0cc211a1d1b7eb1 |
|
MD5 | 2133f8e42d6cc4fdfbc9b4d083c6f9f1 |
|
BLAKE2b-256 | bb31f0d7b55c46345c820a7f5269c18b722675b7c31a1f13fed4fbe0cfcfd8fc |