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.0b1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29aceba6107388f58f1b7991ffba7998eaefda50cf3fec68ea36c6c8eeb0be9d |
|
MD5 | 344c94bb1e5f5ddd974487d1b2383f64 |
|
BLAKE2b-256 | d4df14874b312482a1d2f324c0de32c9c0aca75fe909c54cc28aebf046037b36 |
Close
Hashes for etherbase_predeployed-1.1.0b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2954fb93f56721f217e40934f69dc1203896688e1c1951a74702abe6591f0549 |
|
MD5 | 1f49ea57285832a39f17416d5e58f103 |
|
BLAKE2b-256 | 156ad2006ea6c11ac9997a3eb9836010cc8d829db8de013839ed9059376655ed |