moltspay 0.8.15 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +39 -3
- package/README.md +156 -504
- package/dist/cli/index.js +540 -170
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/index.mjs +544 -174
- package/dist/cli/index.mjs.map +1 -1
- package/dist/facilitators/index.d.mts +61 -0
- package/dist/facilitators/index.d.ts +61 -0
- package/dist/facilitators/index.js +502 -0
- package/dist/facilitators/index.js.map +1 -0
- package/dist/facilitators/index.mjs +461 -0
- package/dist/facilitators/index.mjs.map +1 -0
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +584 -190
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +581 -192
- package/dist/index.mjs.map +1 -1
- package/dist/registry-OsEO2dOu.d.mts +233 -0
- package/dist/registry-OsEO2dOu.d.ts +233 -0
- package/dist/server/index.d.mts +19 -15
- package/dist/server/index.d.ts +19 -15
- package/dist/server/index.js +515 -145
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +515 -145
- package/dist/server/index.mjs.map +1 -1
- package/package.json +7 -2
package/.env.example
CHANGED
|
@@ -1,10 +1,46 @@
|
|
|
1
1
|
# MoltsPay Server Configuration
|
|
2
2
|
# Copy to ~/.moltspay/.env or ./.env and fill in values
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
# ===========================================
|
|
5
|
+
# Network Configuration
|
|
6
|
+
# ===========================================
|
|
7
|
+
# true = Base mainnet, false = Base Sepolia testnet
|
|
5
8
|
USE_MAINNET=true
|
|
6
9
|
|
|
7
|
-
#
|
|
8
|
-
#
|
|
10
|
+
# ===========================================
|
|
11
|
+
# Facilitator Selection (v0.9.0+)
|
|
12
|
+
# ===========================================
|
|
13
|
+
# Primary facilitator to use
|
|
14
|
+
# Available: cdp
|
|
15
|
+
# Coming soon: chaoschain, questflow
|
|
16
|
+
FACILITATOR_PRIMARY=cdp
|
|
17
|
+
|
|
18
|
+
# Fallback facilitators (comma-separated, optional)
|
|
19
|
+
# Example: chaoschain,questflow
|
|
20
|
+
# FACILITATOR_FALLBACK=
|
|
21
|
+
|
|
22
|
+
# Selection strategy when multiple facilitators available
|
|
23
|
+
# Options: failover | cheapest | fastest | random | roundrobin
|
|
24
|
+
FACILITATOR_STRATEGY=failover
|
|
25
|
+
|
|
26
|
+
# ===========================================
|
|
27
|
+
# CDP Facilitator (Coinbase)
|
|
28
|
+
# ===========================================
|
|
29
|
+
# Required for mainnet. Get credentials from:
|
|
30
|
+
# https://portal.cdp.coinbase.com/
|
|
9
31
|
CDP_API_KEY_ID=
|
|
10
32
|
CDP_API_KEY_SECRET=
|
|
33
|
+
|
|
34
|
+
# ===========================================
|
|
35
|
+
# ChaosChain Facilitator (Coming Soon)
|
|
36
|
+
# ===========================================
|
|
37
|
+
# https://github.com/ChaosChain/chaoschain-x402
|
|
38
|
+
# CHAOSCHAIN_ENDPOINT=https://x402.chaoschain.io
|
|
39
|
+
# CHAOSCHAIN_API_KEY=
|
|
40
|
+
|
|
41
|
+
# ===========================================
|
|
42
|
+
# Questflow Facilitator (Coming Soon)
|
|
43
|
+
# ===========================================
|
|
44
|
+
# https://facilitator.questflow.ai/
|
|
45
|
+
# QUESTFLOW_ENDPOINT=https://facilitator.questflow.ai
|
|
46
|
+
# QUESTFLOW_API_KEY=
|