-
Notifications
You must be signed in to change notification settings - Fork 6
/
.env.sample
69 lines (56 loc) · 2.03 KB
/
.env.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# -----------------------------------------------
# Required variables
# -----------------------------------------------
# Database information for transaction and event logging
# Ensure HSC_DATABASE_URL is terminated with /, e.g. postgresql://localhost:5432/
HSC_DATABASE_URL=postgresql://localhost:5432/
HSC_POSTGRES_DB=stable_coin
HSC_DATABASE_USERNAME=postgres
HSC_DATABASE_PASSWORD=password
# Network to use (mainnet, testnet, previewnet)
HSC_NETWORK=testnet
# Operator on Hedera to use to execute any needed transactions.
# This is the account that will get charged.
# Note that an operator **is not required** to run a token node on an
# existing topic.
HSC_OPERATOR_ID=0.0.___
HSC_OPERATOR_KEY=302e___
# -----------------------------------------------
# After first run
# -----------------------------------------------
# Topic on Hedera to use.
# Leave this unset to create a new contract on a new topic. Requires an
# operator to be set.
HSC_TOPIC_ID=
# -----------------------------------------------
# Optional variables
# -----------------------------------------------
# Required when creating a new stable coin contract instance.
HSC_TOKEN_NAME=Fire
HSC_TOKEN_SYMBOL=XFR
HSC_TOKEN_DECIMAL=2
HSC_TOTAL_SUPPLY=10000
# Optional when creating a new stable coin contract instance.
# Defaults to the operator key.
# Private Key 302___
#HSC_OWNER_KEY=
# Public Key 302___
#HSC_SUPPLY_MANAGER_KEY_PUB=
#HSC_COMPLIANCE_MANAGER_KEY_PUB=
#HSC_ENFORCEMENT_MANAGER_KEY_PUB=
# Port the HTTP service will be served on
HSC_STATE_PORT=9000
# How often (in seconds) to commit to a persistent store for logging and state.
HSC_COMMIT_INTERVAL=5
# Directory to store state snapshots.
# The token node will read the latest snapshot on launch to skip
# reading from the entire topic.
HSC_STATE_DIR=_state
# Maximum number of state snaphots to keep in the state directory
HSC_STATE_HISTORY_SIZE=3
# Optional when running `generate`
# All private keys 302___
GENERATE_OWNER_KEY=
GENERATE_SUPPLY_MANAGER_KEY=
GENERATE_COMPLIANCE_MANAGER_KEY=
GENERATE_ENFORCEMENT_MANAGER_KEY=