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.0.0a3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14bebfabf73eba6d6d54864d0bc9d9e31dcd7e2d024e0c3358d193da055b9661 |
|
MD5 | f02c78baa640f66d8b01a7a74b98ced4 |
|
BLAKE2b-256 | f4a6789473106b5358533d6162e285fe2d0a35b0704862ef090c30f427f86f50 |
Close
Hashes for etherbase_predeployed-1.0.0a3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2eef54cb8f0c0eccd885ae3c3f8968a6dc0cc9fad7ea033fd0973fde2463b6aa |
|
MD5 | dc92d1196e5204901617e459e441f0a1 |
|
BLAKE2b-256 | 2da60d1aca7f18d44d492636f8d670a969787f88fb8cfbce3c7a09f962202ed4 |