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.0a5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 629c765535d71618b5f8a34b8714a0b0ec3286836444587d9cc28565ab1d94f3 |
|
MD5 | d5df3210543ecc195af7dbe4aac5a898 |
|
BLAKE2b-256 | 7adc2b5dcfaa0d253c42163e9f848906cb973e92568ac4d688a2cd48a01546af |
Close
Hashes for etherbase_predeployed-1.0.0a5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a13a805432ca8a761f7d73e631a792f7916d71d03b7c14f31d62d272be5fc406 |
|
MD5 | 2dea1b8e11d6f85a1a62d128d073f69d |
|
BLAKE2b-256 | 9327469b99e5fd8cb86ff4e21264347260b95e47080aaaed888471b147d63a42 |