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.0a15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95431ae7e3fafec10a149bc84755c42261dc71dc4adc12e7c5f47232f927457c |
|
MD5 | b3c9c809187bd5655bc55d102fc11409 |
|
BLAKE2b-256 | 4a7efb7a56e90d5d59432ce6b0881597da452cdbb1254cbcb6296d2a8dab4a5d |
Close
Hashes for etherbase_predeployed-1.0.0a15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da52d4791e3df9c14b475bc733552900d016b0fc7d68f307e831617603b197f2 |
|
MD5 | 3fefd2ec0ff558d1b2ffd2fb9e3a8e2b |
|
BLAKE2b-256 | 58755a3cf8a94027fa6221f5ae744b49ade14c2956c4606f6c64d21d1f05b8ba |