mirror of
https://github.com/Permissionless-Software-Foundation/psf-bch-api-base.git
synced 2026-09-21 16:52:00 -07:00
feat(x402): Added dexter facilitator implementation
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Vendored
+1
@@ -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
@@ -17,7 +17,7 @@ const FACILITATORS = {
|
||||
},
|
||||
dexter: {
|
||||
name: 'Dexter',
|
||||
url: 'https://dexter.cash/facilitator',
|
||||
url: 'https://x402.dexter.cash',
|
||||
requiresAuth: false,
|
||||
authType: 'none'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user