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.0a12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d60c38404d4db85e2019aa6e2fbe579a3dcb683df639b3c8e4156d59689b8346 |
|
MD5 | 68f14d93b991598e46277f594343b6fc |
|
BLAKE2b-256 | 674f3e38909536b50f1a47c257181533e2bb38a49202778d3deca846dfed10dc |
Close
Hashes for etherbase_predeployed-1.0.0a12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d3877d802cd5f053fe4558bc94b5521aa0c45ea47d643f9e51e372ebf420973 |
|
MD5 | 073adf52d9868792109fdcc24995decb |
|
BLAKE2b-256 | 3ff45a54029daba3ea1e4d4c46bfb53b0ed030df5045b1f2825c758110af029b |