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.0a87.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2f507482b87c10447f33644dd821fb07890885430b11d4359071c49360b811b |
|
MD5 | a70b8c3382a57a873cb143e1121baee3 |
|
BLAKE2b-256 | 3a3e27ce6ce2b889d5a0ae3be5f40c3d04bf6785291700b6ece37085068046fe |
Close
Hashes for etherbase_predeployed-1.1.0a87-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cda23e6693db571a3bf6371b61a8032a319f80a3cea28a47bc8657771a890d8b |
|
MD5 | 0b5ba36782e5c3c4272fcf5399661638 |
|
BLAKE2b-256 | 5df1dcd7a7cd44a22aa121b653e4cc69c0c771390cc39b24fb262cba8e3faee1 |