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.0a69.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dd629f70aa33f2bfda89c01048e46ee20063af3433405069e865d88197c3439 |
|
MD5 | 7cf5c27e4b8f4b9e6f9c026f129eee4e |
|
BLAKE2b-256 | 356d758b6e6f41dad68dbe483343356caceb8b5484fd329ca66b2abbb8bdc229 |
Close
Hashes for etherbase_predeployed-1.1.0a69-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4f0c102ae7f15681a69774181d787989f1e56422ad60d97abf7d481bf4ba0fb |
|
MD5 | 4a1076ab5b79934dab6a6fa9ca6f5749 |
|
BLAKE2b-256 | 99cf31fc7b42ea55459cd3e9931728cc0cd63c99ec9811b3a673fbaf303d4973 |