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.0a64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30455a4f29cb072326246f97e8c9b27ea010162e34490983b8460c87254cd8c7 |
|
MD5 | 2546a34deb0a2741f9dc7662cfc024ad |
|
BLAKE2b-256 | a9c60d1ade8ada4fdbb4c801a37e98b80bf7bbc991a6c922d073bb0c56af8b01 |
Close
Hashes for etherbase_predeployed-1.1.0a64-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54fe7f9865489b4679030b1af794473626c8023f55aed6173a73b86e3e89ca69 |
|
MD5 | 1f83522c3bcf83cf31095ef5958617f9 |
|
BLAKE2b-256 | 85f5a1fe4114949283aa111757a69b4de814681fc0becf9061c668baa8722418 |