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.0a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fe442167d2a32a60a620bc2be562631afa491937bb6ac2e7179377bc9a8ae9e |
|
MD5 | 711ff486393501b4ebef3296f81f2a13 |
|
BLAKE2b-256 | 9eb3bf8d932d9288260eb13dfb5b2c976518acd77d15aa2a6e5bb5f0977ad958 |
Close
Hashes for etherbase_predeployed-1.0.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e3d26122bf66014b35c784964d6bc79f6a0987be1bf968f5e962ab3cfb92f82 |
|
MD5 | bb25eb337c29492ac97c0caed60dbfe0 |
|
BLAKE2b-256 | b373b4c0b84838d5c0c77fc90ca3b237e8f1b5d24d3273de8db8e3121f8dfee4 |