Protocol fee collection for ProbeChain Rydberg Testnet (Chain ID: 8004).
Configurable fee types, collection on ERC20/native, withdrawal, and statistics.
setFee(feeType, basisPoints)— Configure a fee typecollectFee(feeType, token, amount)— Collect ERC20 feecollectFeeETH(feeType)— Collect native PROBE feewithdrawFees(token)— Withdraw collected feesgetFeeStats()— Get global fee statistics
npm install
cp .env.example .env
npx hardhat compile
npm run deploy- Chain ID: 8004
- EVM: London
- Solidity: 0.8.24