-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy path.env
More file actions
108 lines (99 loc) · 5.33 KB
/
Copy path.env
File metadata and controls
108 lines (99 loc) · 5.33 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
################################################################################
# This file contains defaults values for all environments. You can override
# these values in .env.environment files or by setting a shell environment variable.
#
# Values that can be exposed client-side without security concerns should be
# prefixed TS_PUBLIC_. Private/secret values that should only be available
# server-side should be prefixed TS_ (without PUBLIC_), and should NOT be
# included in .env (since it is checked into version control). Such variables
# should still be DECLARED in .env with an empty value. See:
# https://svelte.dev/docs/kit/$env-static-private
#
# TS_PUBLIC_ variables are imported as run-time configs in config.ts and are
# available server- or client-side (using SvelteKit's $env/dynamic/public
# module). See:
# https://svelte.dev/docs/kit/$env-dynamic-public
#
# This file is sourced by Vite when running `npm run dev` or `npm run build`.
# It is also sourced by `docker-compose` and values are passed through to the
# Docker container.
#
# NOTE: This file is checked-in to version control - it should NEVER include
# secrets (the API keys included below are intended for public API access)
################################################################################
# PUBLIC configuration variables (prefix: TS_PUBLIC_)
TS_PUBLIC_BACKEND_URL=https://tradingstrategy.ai/api
TS_PUBLIC_GHOST_API_URL=https://trading-strategy.ghost.io
TS_PUBLIC_GHOST_CONTENT_API_KEY=4f54e499a627473f560945d524
TS_PUBLIC_DISCORD_URL=https://discord.gg/5M88m9nM8H
TS_PUBLIC_WALLET_CONNECT_PROJECT_ID=9ee7efad98897eb60ba023db6aa72355
TS_PUBLIC_TURNSTILE_SITE_KEY=""
TS_PUBLIC_CHAINS_UNDER_MAINTENANCE="{}" # see .env.development
TS_PUBLIC_ANNOUNCEMENT="" # see .env.development
TS_PUBLIC_STRATEGIES="[]" # see .env.development
# TS_PUBLIC_TOP_VAULTS_URL removed — vault data now fetched via private R2 bucket
TS_PUBLIC_VAULT_PROTOCOL_METADATA_URL=https://vault-protocol-metadata.tradingstrategy.ai/vault-protocol-metadata
TS_PUBLIC_STABLECOIN_METADATA_URL=https://vault-protocol-metadata.tradingstrategy.ai/stablecoin-metadata
TS_PUBLIC_VAULT_SPARKLINES_URL=https://vault-sparklines.tradingstrategy.ai
# TS_PUBLIC_VAULT_DATASETS_URL removed — downloads proxied via server endpoint
TS_PUBLIC_VAULT_API_URL=https://tradingstrategy-store.trading-strategy.workers.dev
TS_PUBLIC_CREEM_CHECKOUT_URL=https://www.creem.io/test/payment/prod_2Kqof4QzSt5LoM3zmsbAq5
# Defeault geo-blocked features:countries; this is reset to '{}' in .env.development
TS_PUBLIC_GEO_BLOCK=`{
"strategies:view": ["CU","IR","KP","RU","SY"],
"strategies:deposit": ["CU","IR","KP","RU","SY","US","UK"]
}`
# Latest ToS contracts per-chain
# May be overridden on production (tos.json) to update without new release
TS_PUBLIC_TOS_CONTRACTS=`{
"ethereum": {
"address": "0xd63c1bE9D8B56CCcD6fd2Dd9F9c030c6a9916f5F",
"version": 2,
"fileName": "2024-12-19.txt",
"acceptanceMessage": "I agree on Terms of Service. I understand smart contract trading is risky and I may lose all of my deposits. \n\nThis Terms of Service version 2, dated 2024-12-19, was published at https://tradingstrategy.ai/tos/2024-12-19.txt"
},
"polygon": {
"address": "0xbe1418df0bAd87577de1A41385F19c6e77312780",
"version": 6,
"fileName": "2024-12-19.txt",
"acceptanceMessage": "I agree on Terms of Service. I understand smart contract trading is risky and I may lose all of my deposits. \n\nThis Terms of Service version 6, dated 2024-12-19, was published at https://tradingstrategy.ai/tos/2024-12-19.txt"
},
"arbitrum": {
"address": "0xDCD7C644a6AA72eb2f86781175b18ADc30Aa4f4d",
"version": 2,
"fileName": "2024-12-19.txt",
"acceptanceMessage": "I agree on Terms of Service. I understand smart contract trading is risky and I may lose all of my deposits. \n\nThis Terms of Service version 2, dated 2024-12-19, was published at https://tradingstrategy.ai/tos/2024-12-19.txt"
},
"base": {
"address": "0x7f0a89B113e5D36Daf001cd6c50A7F68A6172281",
"version": 1,
"fileName": "2024-12-19.txt",
"acceptanceMessage": "I agree on Terms of Service. I understand smart contract trading is risky and I may lose all of my deposits. \n\nThis Terms of Service version 1, dated 2024-12-19, was published at https://tradingstrategy.ai/tos/2024-12-19.txt"
}
}`
###############################################################
#
# Put private data to .env.local which is .gitignored
#
###############################################################
# PRIVATE configuration variables (prefix: TS_PRIVATE_) - declare only
TS_PRIVATE_ADMIN_PW=""
TS_PRIVATE_MAILERLITE_URL=""
TS_PRIVATE_MAILERLITE_API_KEY=""
TS_PRIVATE_MAILERLITE_GROUPS=""
TS_PRIVATE_TURNSTILE_SECRET_KEY=""
# R2 private bucket credentials — recommended for both vault datasets
# (top vaults JSON + vault prices parquet). See docs/vault-data-source.md.
TS_PRIVATE_R2_ACCOUNT_ID=""
TS_PRIVATE_R2_ACCESS_KEY_ID=""
TS_PRIVATE_R2_SECRET_ACCESS_KEY=""
TS_PRIVATE_R2_BUCKET_NAME=""
# Fallback: direct private URL for top vaults JSON (used when R2 is not configured)
TS_PRIVATE_TOP_VAULTS_URL=""
# Fallback: direct URL for the vault prices parquet file (used when R2 is not configured)
TS_PRIVATE_VAULT_PRICES_PARQUET_URL=""
###############################################################
#
# Put private data to .env.local
#
###############################################################