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.0a78.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 782615a419dcc7fa0bf21a331683e4bdf2bee4ba7d64a0b3d39deb820911e739 |
|
MD5 | 5eb8ac1c8dd89e4a0945bda42a239249 |
|
BLAKE2b-256 | 0c7d1068df548ba8302fc74c71248633f1570e447116f71ff8056b779fc9dfdc |
Close
Hashes for etherbase_predeployed-1.1.0a78-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbf113d1472645ef338df4377271efd34ec8fa18a634120046b16994c0998864 |
|
MD5 | 696277b54b7c38ef8eeb28c6a1961790 |
|
BLAKE2b-256 | bb66c3ba8f2b4a62fa106c46c5ac0c3f3575996ef40aceaacc32354881bcc428 |