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-0.0.1a3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d5da699b6aa554503b4f2e78a2b719257d72ca3a65fac4fbbbaad966b7298ea |
|
MD5 | 60e54eefc92c97e370c4b856768fd2e9 |
|
BLAKE2b-256 | 37527e3d20e9ca91a7996e48d56b4037728bc974b588af53e629598f5f200564 |
Close
Hashes for etherbase_predeployed-0.0.1a3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 227e33edc734bb305ba8df1cfe8fbf693eb4d76479a265d66050a4a8727f2a2f |
|
MD5 | d1ecb6ff3e5ccab908d799adb3f0dcec |
|
BLAKE2b-256 | b7b3ae6ee261b59bc84eb6bd3242212a103b772237d2e309ab2e0471e5f4bd48 |