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.0a38.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dd806be29070fb841771656ec5fb56d979e188f788dab62922295ddefdc596a |
|
MD5 | 34f3e41a3a9181eda076161f343ca73f |
|
BLAKE2b-256 | ab77aa7d08272890012a0edb773b5277acc6bc41c0df8a936ff654190a71d94b |
Close
Hashes for etherbase_predeployed-1.1.0a38-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fab17ce29c8cc171a1514c9bb2c8471a7e72308c487d0cdfb30581ed1579a791 |
|
MD5 | 7dfc5a6d8b5df07ccd06e13e13915cc3 |
|
BLAKE2b-256 | de97ba61146f30980975bf77a948524e7c2c747019611d97c48d4f44111acb02 |