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.0a16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5baa5bcc5f03ed24918dd465e266b2a4fa99ab131188e00a5d4cd452f7935e67 |
|
MD5 | 58c246e05224ae4d295680f318d1d689 |
|
BLAKE2b-256 | efdb10a69c8da1ff390fb5be589b3c8432f348207c2511d071ad2c3b80f5b4bb |
Close
Hashes for etherbase_predeployed-1.0.0a16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf95848b5a9c2b63c3f7cec1d79442df5dc7bec99ba7293c84b196ecb156840d |
|
MD5 | 8ff56eb72eda49056fa1baac647a40a6 |
|
BLAKE2b-256 | cf080af0cdef8c070b21daee98543d6758eca8ea9782489ef488a7f62bdcd1c7 |