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.0a42.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4742bde286352b3012411f1e52ad3ad088779340cea26e33dc0b8bfd71431cff |
|
MD5 | a7903f2c49e750325dd260e4ef7ebe7b |
|
BLAKE2b-256 | 89f449487b47dbff7d17098ac22763d8c4a7e4dbfb25984254783a5e2943b456 |
Close
Hashes for etherbase_predeployed-1.1.0a42-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09d97596e562680dd951a6edc910dc68b8a4cefd5909cb7bcdc7f13050d69a09 |
|
MD5 | a7cbcaae3642e1059d86052f385bc9f6 |
|
BLAKE2b-256 | 32de59cfd8cb54920d7ba6286d1c45414dcc180677f050b132b27cee334ed746 |