├── .cursor └── scratchpad.md ├── .env.example ├── .gitignore ├── LICENSE ├── README-DEPLOYMENT.md ├── README.md ├── base.apk ├── jest.config.cjs ├── package.json ├── scripts └── rpi-deploy │ ├── build-app-production.sh │ ├── build-config.env.template │ ├── build-pi-image-osx.sh │ └── setup-build-environment.sh ├── src ├── app.ts ├── config │ └── index.ts ├── server.ts ├── services │ ├── addressProcessor.ts │ ├── alchemyService.ts │ ├── bridgeManager.ts │ ├── bridges │ │ └── layerswapBridgeProvider.ts │ ├── caip10Service.ts │ ├── connectionMonitorService.ts │ ├── ethereumService.ts │ ├── layerswapService.ts │ ├── nfcService.ts │ ├── paymentService.ts │ ├── priceCacheService.ts │ ├── priceService.ts │ ├── realtimeTransactionMonitor.ts │ └── transactionMonitoringService.ts ├── types │ ├── bridge.ts │ └── index.ts └── web │ └── index.html ├── tests ├── basic.test.ts ├── mocks │ ├── nfc-pcsc.mock.ts │ └── ws.mock.ts ├── setup.ts └── utils │ └── testHelpers.ts ├── tsconfig.json └── types ├── nfc-pcsc.d.ts └── pcsclite.d.ts /.cursor/scratchpad.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/.cursor/scratchpad.md -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/LICENSE -------------------------------------------------------------------------------- /README-DEPLOYMENT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/README-DEPLOYMENT.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/README.md -------------------------------------------------------------------------------- /base.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/base.apk -------------------------------------------------------------------------------- /jest.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/jest.config.cjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/package.json -------------------------------------------------------------------------------- /scripts/rpi-deploy/build-app-production.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/scripts/rpi-deploy/build-app-production.sh -------------------------------------------------------------------------------- /scripts/rpi-deploy/build-config.env.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/scripts/rpi-deploy/build-config.env.template -------------------------------------------------------------------------------- /scripts/rpi-deploy/build-pi-image-osx.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/scripts/rpi-deploy/build-pi-image-osx.sh -------------------------------------------------------------------------------- /scripts/rpi-deploy/setup-build-environment.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/scripts/rpi-deploy/setup-build-environment.sh -------------------------------------------------------------------------------- /src/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/src/app.ts -------------------------------------------------------------------------------- /src/config/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/src/config/index.ts -------------------------------------------------------------------------------- /src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/src/server.ts -------------------------------------------------------------------------------- /src/services/addressProcessor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/src/services/addressProcessor.ts -------------------------------------------------------------------------------- /src/services/alchemyService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/src/services/alchemyService.ts -------------------------------------------------------------------------------- /src/services/bridgeManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/src/services/bridgeManager.ts -------------------------------------------------------------------------------- /src/services/bridges/layerswapBridgeProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/src/services/bridges/layerswapBridgeProvider.ts -------------------------------------------------------------------------------- /src/services/caip10Service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/src/services/caip10Service.ts -------------------------------------------------------------------------------- /src/services/connectionMonitorService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/src/services/connectionMonitorService.ts -------------------------------------------------------------------------------- /src/services/ethereumService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/src/services/ethereumService.ts -------------------------------------------------------------------------------- /src/services/layerswapService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/src/services/layerswapService.ts -------------------------------------------------------------------------------- /src/services/nfcService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/src/services/nfcService.ts -------------------------------------------------------------------------------- /src/services/paymentService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/src/services/paymentService.ts -------------------------------------------------------------------------------- /src/services/priceCacheService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/src/services/priceCacheService.ts -------------------------------------------------------------------------------- /src/services/priceService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/src/services/priceService.ts -------------------------------------------------------------------------------- /src/services/realtimeTransactionMonitor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/src/services/realtimeTransactionMonitor.ts -------------------------------------------------------------------------------- /src/services/transactionMonitoringService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/src/services/transactionMonitoringService.ts -------------------------------------------------------------------------------- /src/types/bridge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/src/types/bridge.ts -------------------------------------------------------------------------------- /src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/src/types/index.ts -------------------------------------------------------------------------------- /src/web/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/src/web/index.html -------------------------------------------------------------------------------- /tests/basic.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/tests/basic.test.ts -------------------------------------------------------------------------------- /tests/mocks/nfc-pcsc.mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/tests/mocks/nfc-pcsc.mock.ts -------------------------------------------------------------------------------- /tests/mocks/ws.mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/tests/mocks/ws.mock.ts -------------------------------------------------------------------------------- /tests/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/tests/setup.ts -------------------------------------------------------------------------------- /tests/utils/testHelpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/tests/utils/testHelpers.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/nfc-pcsc.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/types/nfc-pcsc.d.ts -------------------------------------------------------------------------------- /types/pcsclite.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FreePayPOS/merchant-app/HEAD/types/pcsclite.d.ts --------------------------------------------------------------------------------