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.0a10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82efff0560e2c40a22f8908362e4471c6e9156fee19fdbfd91b77e0b7c5683e6 |
|
MD5 | 44d425a15b24cafbb9ec47047b7db3e2 |
|
BLAKE2b-256 | 692f90a5014b794e1fac5d2dbe2a2b2f82c5f8172a12ce216c6fb5b779e558c9 |
Close
Hashes for etherbase_predeployed-1.1.0a10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43fcb0077215722e953778bcb8bfe832a2500e9aea1c92f6b181eeca6f0ff0ae |
|
MD5 | ac8cac642b1d0a73fe09517cd0c00ea0 |
|
BLAKE2b-256 | b9cd2d8e837a09d109544d036e24c5c906813309698bd0fac739e31d0461e5d5 |