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-0.0.1a41.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73495c31577f6b5a4b54b034bb16c1cbad68911c5ea38b36253c5d4bd9978679 |
|
MD5 | af788ef2e0ec8f0cded64f49f50baeec |
|
BLAKE2b-256 | b83a666eea52f3fa4b25a8f6e58ff004221bc30282a350d9e6bd046bd013de6b |
Close
Hashes for etherbase_predeployed-0.0.1a41-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6919d0d920327bda2f933d4129967c4932429be9ae99461f3975975d06d3e8b7 |
|
MD5 | c00078e605393829824eff8225407f5d |
|
BLAKE2b-256 | 6f1002677252d348972ee916fc249bee0e3de1e582a2333e169d61374a1b215c |