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.1a22.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f21780a7d3df07e39ccbba0c70ac33da448725e839b8b8876fca1349a312036 |
|
MD5 | 989af5b95313fbab56182222f9d54111 |
|
BLAKE2b-256 | 0155ce47777d15f14d4202cb76ff96fd2a80763534e4cbea494e8446a11e608f |
Close
Hashes for etherbase_predeployed-0.0.1a22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34256ce484fdd68e01639510b41a9c5cc582ae743b0d83b60426f14042740c96 |
|
MD5 | ae4f37fdb0d18ac9504f567932fbefcd |
|
BLAKE2b-256 | 0ac3b15aaa8c577315f193656f3bbecfc52a5f39dc709bfc79b51c0c79ca7263 |