A small C#/.NET prototype that checks whether exchanging currency through a Binance P2P offer paid via Revolut is more favorable than exchanging directly in the Revolut app.
The idea: the USDT/PLN (or other pair) rate on Binance P2P for listings that accept Revolut as a payment method can sometimes be better (or worse) than the standard in-app Revolut exchange rate. The project aims to fetch both rates automatically and compare them.
ConsoleApp1/Program.cs— application entry point. Currently launches a browser (PuppeteerSharp + the Stealth plugin from PuppeteerExtraSharp) in non-headless mode, with a separate user profile (userData).ConsoleApp1/Api.cs— HTTP calls:GetRevolutExchangeRate(from, to)— fetches the exchange rate from Revolut's public API (revolut.com/api/exchange/quote).GetBinanceExchangeList(currency, asset, tradeType)— fetches a list of P2P offers from Binance (p2p.binance.com/.../c2c/adv/search) for the given currency, asset, and trade type (buy/sell), filtered by theREVOLUTpayment method.
ConsoleApp1/RevolutApiResponse.cs— DTO models for deserializing Revolut's API response.ConsoleApp1/BinanceApiResponse.cs— DTO models for deserializing Binance P2P's API response.
- .NET 6 SDK
- NuGet packages:
PuppeteerSharp,PuppeteerExtraSharp,Newtonsoft.Json
dotnet restore
dotnet run --project ConsoleApp1