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.0a91.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 836a5fb817bfeef9d81b73caaec0f419a08f204f167fbb8205a5b5f78c17bb2b |
|
MD5 | fd81d88f6bb7eb2fa7dc941617d0961a |
|
BLAKE2b-256 | b5f6437668bb7afafda295cf13ab9e4ec14c584056adf5d3923682d668a959e2 |
Close
Hashes for etherbase_predeployed-1.1.0a91-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0eae7e77f88c45a49baaea657fdfbab53268f90431611ef2b61749f2655c03e2 |
|
MD5 | 0f91cad7759d2b8a6bbc7360a64085b1 |
|
BLAKE2b-256 | 7e236d15ad014ab5ffd049db6658c6f35a43572f461ccb6a0d76331f88ba8373 |