This repository has been archived by the owner on Jul 14, 2022. It is now read-only.
forked from flow-hydraulics/flow-wallet-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
48 lines (36 loc) · 1.75 KB
/
.env.example
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
FLOW_WALLET_ADMIN_ADDRESS=0xf8d6e0586b0a20c7
FLOW_WALLET_ADMIN_PRIVATE_KEY=91a22fbd87392b019fbe332c32695c14cf2ba5b6521476a8540228bdf1987068
FLOW_WALLET_DATABASE_TYPE=psql
FLOW_WALLET_DATABASE_DSN=postgresql://wallet:wallet@localhost:5432/wallet
# emulator
FLOW_WALLET_ACCESS_API_HOST=localhost:3569
FLOW_WALLET_CHAIN_ID=flow-emulator
# testnet
# FLOW_WALLET_ACCESS_API_HOST=access.testnet.nodes.onflow.org:9000
# FLOW_WALLET_CHAIN_ID=flow-testnet
# mainnet
# FLOW_WALLET_ACCESS_API_HOST=access.mainnet.nodes.onflow.org:9000
# FLOW_WALLET_CHAIN_ID=flow-mainnet
# When set to "local", private keys are generated by the API
# and stored as encrypted text in the database.
FLOW_WALLET_DEFAULT_KEY_TYPE=local
# This symmetrical key is used to encrypt private keys
# that are stored in the database.
FLOW_WALLET_ENCRYPTION_KEY=faae4ed1c30f4e4555ee3a71f1044a8e
FLOW_WALLET_ENCRYPTION_KEY_TYPE=local
FLOW_WALLET_ENABLED_TOKENS=FUSD:0xf8d6e0586b0a20c7:fusd,FlowToken:0x0ae53cb6e3f42a79:flowToken
# This sets the number of proposal keys to be used on the admin account.
# You can increase transaction throughput by using multiple proposal keys for
# parallel transaction execution.
FLOW_WALLET_ADMIN_PROPOSAL_KEY_COUNT=50
# Sets the server request timeout
# FLOW_WALLET_SERVER_REQUEST_TIMEOUT=60s
# Defines the maximum number of active jobs that can be queued before
# new jobs are rejected.
# FLOW_WALLET_WORKER_QUEUE_CAPACITY=1000 (default)
# Number of concurrent workers handling incoming jobs.
# You can increase the number of workers if you're sending
# too many transactions and find that the queue is often backlogged.
# FLOW_WALLET_WORKER_COUNT=100 (default)
# Max transactions per second, rate at which the service can submit transactions to Flow
# FLOW_WALLET_MAX_TPS=10 (default)