Zeth - Zerocash on Ethereum  0.8
Reference implementation of the Zeth protocol by Clearmatics
constants.py
Go to the documentation of this file.
1 # Copyright (c) 2015-2022 Clearmatics Technologies Ltd
2 #
3 # SPDX-License-Identifier: LGPL-3.0+
4 
5 
6 """
7 Constants and defaults specific to the CLI interface.
8 """
9 
10 ETH_RPC_ENDPOINT_DEFAULTS = {
11  "ganache": "http://localhost:8545",
12  "autonity-helloworld": "http://localhost:8541",
13  "bakerloo": "https://rpc3.bakerloo.autonity.network:8545",
14 }
15 
16 ETH_NETWORK_FILE_DEFAULT = "eth-network"
17 ETH_NETWORK_DEFAULT = "ganache"
18 PROVER_SERVER_ENDPOINT_DEFAULT = "localhost:50051"
19 
20 # Note that these must satisfy:
21 # ZETH_PUBLIC_ADDRESS_FILE_DEFAULT == \
22 # commands.utils.find_pub_address_file(ZETH_SECRET_ADDRESS_FILE_DEFAULT)
23 ZETH_SECRET_ADDRESS_FILE_DEFAULT = "zeth-address.priv"
24 ZETH_PUBLIC_ADDRESS_FILE_DEFAULT = "zeth-address.pub"
25 
26 INSTANCE_FILE_DEFAULT = "zeth-instance"
27 ETH_ADDRESS_DEFAULT = "eth-address"
28 ETH_PRIVATE_KEY_FILE_DEFAULT = "eth-private-key"
29 
30 PROVER_CONFIGURATION_FILE_DEFAULT = "prover-config.cache"
31 
32 WALLET_DIR_DEFAULT = "./wallet"
33 WALLET_USERNAME = "zeth"