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.0a58.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b0edaf5c6a4f8f53f769cc9b8bbf7d50ecd97171625466314e6ee4b1c83578b |
|
MD5 | 6949147358e80f82a25ba0a193395fab |
|
BLAKE2b-256 | 5cdbab2b2649f59c04ab0b9d98ca0b58377b9b73e9c16345e4eb78268f406e76 |
Close
Hashes for etherbase_predeployed-1.1.0a58-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c868bfd2563650945ecdb08ecda3fd757784da765179752a58ad597775b69dd |
|
MD5 | 4da9c33a99f06bacf59d0df0143a35da |
|
BLAKE2b-256 | d6fcaecc9b35d285acd9c7e7c8f95d42ea67700563eb5e13173b63a2aa5bcfc0 |