This repository has been archived by the owner on Aug 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
wrangler.toml
72 lines (55 loc) · 1.67 KB
/
wrangler.toml
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
#:schema node_modules/wrangler/config-schema.json
name = "launchtube"
main = "dist/index.js"
compatibility_date = "2024-05-12"
workers_dev = true
minify = true
[build]
command = "npm run build"
[[migrations]]
tag = "v1"
new_classes = ["CreditsDurableObject", "SequencerDurableObject"]
### DEV ###
[[durable_objects.bindings]]
name = "CREDITS_DURABLE_OBJECT"
class_name = "CreditsDurableObject"
[[durable_objects.bindings]]
name = "SEQUENCER_DURABLE_OBJECT"
class_name = "SequencerDurableObject"
[[kv_namespaces]]
binding = "SUDOS"
id = "1fcab4e76e4948ba9b728271fa51586d"
[[d1_databases]]
binding = "DB"
database_name = "launchtube-testnet"
database_id = "80e789b8-41a6-4741-aeca-62b4203661dc"
[define]
global = "globalThis"
[vars]
ENV = "development"
NATIVE_CONTRACT_ID="CDLZFC3SYJYDZT7K67VZ75HPJVIEUVNIXF47ZG2FB2RMQQVU2HHGCYSC"
RPC_URL="https://soroban-testnet.stellar.org"
NETWORK_PASSPHRASE="Test SDF Network ; September 2015"
### PROD ###
[env.prod]
workers_dev = true
[[env.prod.durable_objects.bindings]]
name = "CREDITS_DURABLE_OBJECT"
class_name = "CreditsDurableObject"
[[env.prod.durable_objects.bindings]]
name = "SEQUENCER_DURABLE_OBJECT"
class_name = "SequencerDurableObject"
[[env.prod.kv_namespaces]]
binding = "SUDOS"
id = "4d86c63ffe344460ab9f740c48e01cab"
[[env.prod.d1_databases]]
binding = "DB"
database_name = "launchtube-public"
database_id = "22bd71e0-81f5-4d93-80a9-1242869cbbe5"
[env.prod.define]
global = "globalThis"
[env.prod.vars]
ENV = "production"
NATIVE_CONTRACT_ID="CAS3J7GYLGXMF6TDJBBYYSE3HQ6BBSMLNUQ34T6TZMYMW2EVH34XOWMA"
RPC_URL="https://svc.blockdaemon.com/stellar/mainnet/native/soroban-rpc"
NETWORK_PASSPHRASE="Public Global Stellar Network ; September 2015"