aboutsummaryrefslogtreecommitdiffstats
path: root/config.ts.sample
diff options
context:
space:
mode:
Diffstat (limited to 'config.ts.sample')
-rw-r--r--config.ts.sample34
1 files changed, 20 insertions, 14 deletions
diff --git a/config.ts.sample b/config.ts.sample
index b28c6b6b..fc461a63 100644
--- a/config.ts.sample
+++ b/config.ts.sample
@@ -10,16 +10,11 @@ export default {
},
archive: "redis://arc",
db: "redis://db",
- nostr: "ws://nostr:8080",
+ nostr: "ws://sf:7777",
+ publicRelay: "ws://localhost:7777",
+ cache: "wss://cache2.primal.net/v1",
relays: [
- "ws://nostr:8080",
- "wss://relay.primal.net",
- "wss://relay.damus.io",
- "wss://nostr-pub.wellorder.net",
- "wss://brb.io",
- "wss://nostr.v0l.io",
- "wss://relay.nostr.bg",
- "wss://nostr.orangepill.dev"
+ "ws://sf:7777",
],
jwt: "00d0ab4f7738a83feb37f661526512063c41e49278b7c32cba87314269a5788b",
bitcoin: {
@@ -42,22 +37,33 @@ export default {
password: "123",
network: "regtest",
port: 7040,
- btc: "5ac9f65c0efcc4775e0baec4ec03abdde22473cd3cf33c0419ca290e0751b225"
+ btc: "5ac9f65c0efcc4775e0baec4ec03abdde22473cd3cf33c0419ca290e0751b225",
},
lightning: "/home/bun/app/data/lightning/regtest/lightning-rpc",
lightningb: "/home/bun/app/data/lightningb/regtest/lightning-rpc",
- fee: 0.001,
- adminpass: "pwa",
- txWebhookSecret: process.env.TX_WEBHOOK_SECRET || "pwa",
+ fee: {
+ bitcoin: 0.004,
+ liquid: 0.001,
+ lightning: 0.001,
+ },
+ admin: "admin",
+ adminpass: "pw",
+ testSecret: process.env.E2E_TEST_SECRET || "local-e2e-secret",
+ txWebhookSecret: process.env.TX_WEBHOOK_SECRET || "pw",
support: "[email protected]",
nostrKey: "nsec1msk3dqy2pzqy2murmm5s5gejfgkjkm2zesnh266gud2wcvhcunzqlu0h90",
nostrKey2: "nsec17ugnsk0qrnakf7xaxzckya4xvx58q063k6q4vq2l577k4uyv9r0qmdcgm5",
mintUrl: "http://mint:3338",
+ vapid: {
+ pk: "",
+ sk: "",
+ },
square: {
environment: SquareEnvironment.Sandbox,
- appId: "sandbox-sq0adb-9QbyDZeHTPc_RhFSEr_SaQ",
+ appId: "",
url: "https://connect.squareupsandbox.com/",
scopes: ["MERCHANT_PROFILE_READ", "ORDERS_READ", "PAYMENTS_READ"],
},
tigerbeetle: { cluster_id: 0n, replica_addresses: ["tb:3000"] },
+ hostname: "localhost",
};