diff --git a/.env-local b/.env-local index 6cdb413..9d8b682 100644 --- a/.env-local +++ b/.env-local @@ -20,7 +20,9 @@ LOCAL_RESTURL=http://localhost:5942/v6 # START ACCESS CONTROL # x402 payments required to access this API? -X402_ENABLED=false +X402_ENABLED=true +SERVER_BCH_ADDRESS=bitcoincash:qqlrzp23w08434twmvr4fxw672whkjy0py26r63g3d +FACILITATOR_URL=http://localhost:4345/facilitator # Basic Authentication required to access this API? USE_BASIC_AUTH=true diff --git a/src/config/env/common.js b/src/config/env/common.js index aab10c1..d7688a1 100644 --- a/src/config/env/common.js +++ b/src/config/env/common.js @@ -34,7 +34,7 @@ const priceSat = Number.isFinite(parsedPriceSat) && parsedPriceSat > 0 ? parsedP const x402Defaults = { enabled: normalizeBoolean(process.env.X402_ENABLED, true), facilitatorUrl: process.env.FACILITATOR_URL || 'http://localhost:4345/facilitator', - serverAddress: process.env.SERVER_BCH_ADDRESS || 'bitcoincash:qqlrzp23w08434twmvr4fxw672whkjy0py26r63g3d', + serverAddress: process.env.SERVER_BCH_ADDRESS || 'bitcoincash:qqsrke9lh257tqen99dkyy2emh4uty0vky9y0z0lsr', priceSat }