This app queries the Mode network explorer (https://explorer.mode.network/api-docs) API to check for wallets that have been liquidated by specific contracts.
The app allows the user to enter a users wallet address and:
- Filters the txs of the wallet that have methods of "safeLiquidateToTokensWithFlashLoan". (https://explorer.mode.network/api/v2/walletID/transactions)
- Filters token transfers of a wallet that have been sent to a specific wallet(0xc89c328609aB58E256Cd2b5aB4F4aF2EFb9fcA33). (https://explorer.mode.network/api/v2/walletID/token-transfers)
Any transactions and token transfers that are identified as liqiuidations are returned.
Install the dependencies:
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
# bun
bun install
Start the development server on http://localhost:3000
:
vist http://localhost:3000/check-liquidation
# npm
npm run dev
# pnpm
pnpm run dev
# yarn
yarn dev
# bun
bun run dev
Build the application for production:
# npm
npm run build
# pnpm
pnpm run build
# yarn
yarn build
# bun
bun run build
Locally preview production build:
# npm
npm run preview
# pnpm
pnpm run preview
# yarn
yarn preview
# bun
bun run preview
Check out the deployment documentation for more information.