Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

FlashLoanGuardian

Flash loan protection with reentrancy guards and sandwich attack detection for ProbeChain Rydberg Testnet.

Features

  • Pre/post transaction guard hooks for protected contracts
  • Price deviation detection via oracle integration
  • Sandwich attack detection (same-block tx counting)
  • Flash loan detection via balance snapshot comparison
  • Circuit breaker with configurable cooldown
  • Per-token price deviation thresholds

Contracts

Contract Address
FlashGuard TBD

Quick Start

cp .env.example .env
npm install
npx hardhat compile
npx hardhat run scripts/deploy.ts --network rydberg

Network

  • RPC: https://proscan.pro/chain/rydberg-rpc
  • Chain ID: 8004