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-0.0.1a12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e52766e40360333063dfbc86218c9a6ee2b8f2b6c6d02ed190200e182f83050e |
|
MD5 | edeee4596ce98c5f43feae26442ebd03 |
|
BLAKE2b-256 | ccdf167f7396ec95ef14c5bae846e1967162a6a9b257df0c77b37a1556649672 |
Close
Hashes for etherbase_predeployed-0.0.1a12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0710116e8daf9ddf7441d84348c0151f829c2d60d9a8dbc2b5018d85e5192cf2 |
|
MD5 | 91617b07f01d5fa902a726362f72b8da |
|
BLAKE2b-256 | e8ffd82444afb003be639540fb0c46f3b1d07b12dc15ff63979557ab5bb02572 |