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.0a19.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3cce7921069fd024b439863a4647a7cebdf4bca1d13a32d71a2ca2da2f23ce5 |
|
MD5 | 2030931e728c009b6c723d9d0e6ca97d |
|
BLAKE2b-256 | ba105081959391d87a0bc940d2d7c657b134d3c6e2751c4a787fa74ab4b9aeeb |
Close
Hashes for etherbase_predeployed-1.0.0a19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ebdc8d955969478d76491f6a4e481cc593f81352c0c33f9f4b5e35cf191e107 |
|
MD5 | 658e27a1da792847dedc0b87a5c3d175 |
|
BLAKE2b-256 | e1ab22ea405073fc369e1fcef2487152b9fd7f4cabc922bc1e52cb9d7a1efabe |