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.0a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26aa89dad8d63f9fef2ee1040287d99936f116e9b0b8db2324c6b852fa20d161 |
|
MD5 | 1d0883dce1fbf3e4fc8bc1b62967a4bd |
|
BLAKE2b-256 | ee50de00aed22bb8758e42a4cd4292dc0b825fe30965a3b222cc150e70b36a0c |
Close
Hashes for etherbase_predeployed-1.1.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65e37f2ec1639a8541055225b031defd041cdc3dd6ffc4d11394efd3d5811595 |
|
MD5 | 7c645ad192cbf34cad24c844ed820a4a |
|
BLAKE2b-256 | 4eef56160422be48c2a2fff641168f9aa29094ba31e04d75ac42e82b9afbcc77 |