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.0a59.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 529068aeed2415811fa219ad1250af051f117bdd1ec42a38133a0a9cf23adc90 |
|
MD5 | 977d05b0600158a7c25f152578d1f0d0 |
|
BLAKE2b-256 | 72722f2e167b0dbb677f8d93ff16026e92cf1d5df86bf48b33fdf11c286df7f8 |
Close
Hashes for etherbase_predeployed-1.1.0a59-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ce969abf1595817e4c38353a47104f221fe5a62261a421e1a89445d2d5b6af9 |
|
MD5 | 533181cf839d2436919ac6253b3c67fb |
|
BLAKE2b-256 | 819e0e426c369d343b8e9f6c4f01489411bab9acdbdcbc0fa4bdf0958ab84af6 |