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.0a55.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f465aa58a8244c12cffc0f3621f0fdb18fd25d9afec9adff0af5cb7f182d536c |
|
MD5 | 4a18c19992a59b98fba33ba683c01323 |
|
BLAKE2b-256 | 758016075508b8816dfe3dda088f92ecceae0c7926e2f168b84bdb186230efaa |
Close
Hashes for etherbase_predeployed-1.1.0a55-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb606f43dd289b2a8c99cffb93726969aee81dbaf96aab85990528fca1420fb4 |
|
MD5 | 0163f945c5f2a6adb9059d96b9d1fe63 |
|
BLAKE2b-256 | 2293918820ab5c3fddd687b0c0172942462071fbbf57874e0f8c143dcc1b3243 |