feat(x402): Added dexter facilitator implementation

This commit is contained in:
Daniel Gonzalez
2026-04-08 12:59:58 -04:00
parent c197a00047
commit 1a0884149d
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ export PRIMARY_FACILITATOR=cdp
# Facilitator URLs
# For Coinbase CDP (recommended): https://api.cdp.coinbase.com/platform/v2/x402
# For Dexter (no API keys): https://dexter.cash/facilitator
# For Dexter (no API keys):https://x402.dexter.cash
export x402_FACILITATOR_URL=https://api.cdp.coinbase.com/platform/v2/x402
# CDP API Credentials (required when using CDP facilitator)
+1
View File
@@ -43,6 +43,7 @@ const x402Defaults = {
serverAddress: process.env.SERVER_BASE_ADDRESS || 'bitcoincash:qqsrke9lh257tqen99dkyy2emh4uty0vky9y0z0lsr',
facilitatorKeyId: process.env.FACILITATOR_KEY_ID || '',
facilitatorSecretKey: process.env.FACILITATOR_SECRET_KEY || '',
primaryFacilitator: process.env.PRIMARY_FACILITATOR || 'cdp',
// CDP requires CAIP-2 network format: eip155:8453 (base) or eip155:84532 (base-sepolia)
network: x402Network,
priceUSDC
+1 -1
View File
@@ -17,7 +17,7 @@ const FACILITATORS = {
},
dexter: {
name: 'Dexter',
url: 'https://dexter.cash/facilitator',
url: 'https://x402.dexter.cash',
requiresAuth: false,
authType: 'none'
}