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.0a73.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b1b76bf74abec0c88a7e107069536c06b785aedf881b5dbee6d6eb71afa443e |
|
MD5 | 398e3f8156180d2e453aac6fd41b00e3 |
|
BLAKE2b-256 | 3e752c1393d4aa516daa91e669c2dbb787531c2827c38f76f20f6af17cdda11b |
Close
Hashes for etherbase_predeployed-1.1.0a73-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e8bc6847a590c42b002ff902d451ef6b13e1b4a7f4a0004f97ec7291d5c853f |
|
MD5 | c1789c23f818fe5cb5dc870b1b613e60 |
|
BLAKE2b-256 | ec8496e0aa25a238d7f6a66aa02a494d1b3bae1ff68af90ee9a1227ad7ed98e3 |