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.0a15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d24a421d0be3d52e76851909ae8758d701c8180901fd42d66a187396482c4f8b |
|
MD5 | cf76f7a02f9f934c04f82c7e55d172f6 |
|
BLAKE2b-256 | 875269c0e8342cd1b167447f0b301c957092b1a727e608ab324fdd7a8b034c82 |
Close
Hashes for etherbase_predeployed-1.1.0a15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 466d3de6f7e23dde4b9ba74c798ef54a2d38b5eb78012e2854a099164bf7891b |
|
MD5 | 71683f696a630408c48f60408d2462c8 |
|
BLAKE2b-256 | c8fe91d22c53d91e3a7b34c2b11a5414a55ee1b14a0985deb64a8260e39f962a |