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.0a52.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15550ab1f0a1815d8706ecd1a7906634aac0a02c9eee3f2623abbcd99178b74d |
|
MD5 | 54cb5fcb8f77e0956b1a447c58720bf0 |
|
BLAKE2b-256 | 949c7ae82372d97a4011fcec2cb9407c0c283f5b0a3315c7799b1058fbb07053 |
Close
Hashes for etherbase_predeployed-1.1.0a52-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b355f44015256898c260a49771b81d89cf9b88ba7d7497ab6e5cc4a9b6ffa94 |
|
MD5 | 02d2ce6eb540c72bb9d76438408989de |
|
BLAKE2b-256 | f71d8f3f153883505ef7e984c0b8088615deac0fb5bd52e9e479695e14365e54 |