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.0a37.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b82e6fed935668b2d498fec177ea54f2b3ca3245364d801ff57ffe1b61d79dd0 |
|
MD5 | 508cd9ea3852a7631a36cf186cef0143 |
|
BLAKE2b-256 | af73eb823bc9f95e58dae173a3eafa04b95d0902fa053768370914c232079290 |
Close
Hashes for etherbase_predeployed-1.1.0a37-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5654da84f2b56fb2a2c71f3ae3d58728c3f03fff0d50acead9e9d932f8fdcf55 |
|
MD5 | b2aac9d535b530db17a710bd84a6429e |
|
BLAKE2b-256 | ac24c474a16804ab802218c65b82cc72e08d4d2ea6389c1c79f8d8cfef1f29ea |