Pre-release
This release is a pre-release and may not be stable for production use.
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
)
}
}
Metadata
Release files for etherbase-predeployed 0.0.1.dev8623730274384294651
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| etherbase-predeployed-0.0.1.dev8623730274384294651.tar.gz | 9.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| etherbase_predeployed-0.0.1.dev8623730274384294651-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.7 kB
Release files / etherbase-predeployed-0.0.1.dev8623730274384294651.tar.gz
| Download URL | etherbase-predeployed-0.0.1.dev8623730274384294651.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7aaf352613018e35ab2446a9dc2f42d2b665e474397c33ed1ccbccd7e79246c1
|
|
BLAKE2b-256 checksum How to use checksums |
2beaef1eca5a61b8c37282176d7d3584800d8035ad034e895c5fe9d57fa31709
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Release files / etherbase_predeployed-0.0.1.dev8623730274384294651-py3-none-any.whl
| Download URL | etherbase_predeployed-0.0.1.dev8623730274384294651-py3-none-any.whl |
|---|---|
| Size | 12.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2299628d8a3833283ca819dee1bbf0460d4796845540d999c0cc211a1d1b7eb1
|
|
BLAKE2b-256 checksum How to use checksums |
bb31f0d7b55c46345c820a7f5269c18b722675b7c31a1f13fed4fbe0cfcfd8fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|