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.0a74.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5751e1a7f1f74676bf326b128368ee292127f537eba88b501219ee4c7a65d85e |
|
MD5 | 0f579e07bbd78bd5774160c17e2e695e |
|
BLAKE2b-256 | 21d1e7fd1ca5db76e8dca50fe3dd517da9049bfaa2967d557a0a4a4fc7c4b6b6 |
Close
Hashes for etherbase_predeployed-1.1.0a74-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 024940f114b49890c091b97c614779adebab14c5d099881b9466b8048078efb2 |
|
MD5 | 8c211aece1decfe9ca632b77edfe69d1 |
|
BLAKE2b-256 | 7a9e8af8520cb0b00f55e04f82c0b9646b9d458ef483265dea4d996840650acf |