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.0a70.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8798d18a7df2a7622c8e7c94aef91574a2bbee765e3127f33b5a338e910d859c |
|
MD5 | 908a0a19881871850c4e1758a1be9c00 |
|
BLAKE2b-256 | f3cbfce938ddc1833fc623b5c638721454f180b7267ea357788f0de8a69d70a2 |
Close
Hashes for etherbase_predeployed-1.1.0a70-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a211b950e24325b0045cd1ae0155c485d98490dc3cb1f13f01f4ee488e02db1 |
|
MD5 | 08727ae06338d4e205724e768b7523f2 |
|
BLAKE2b-256 | 4e154438d9bf88c09d9f53476046d2cf457562a0cc8399527187d303149c2da1 |