The "DeFAI" (Decentralized Finance AI) Play. This is a Conditional Execution Agent wallet that executes transactions on the Flare Network based on events verified by the Flare Data Connector (FDC).
- Flare Data Connector Integration: Proves external events (e.g., Bitcoin transactions, Web2 API attestations).
- Conditional Payouts: Holdings are released only when valid proofs are submitted.
contracts/: Smart contracts (Agent and Interfaces).test/: Hardhat tests with Mock FDC.scripts/: Deployment scripts.
-
Install Dependencies
npm install
-
Test
npx hardhat test -
Deploy
npx hardhat run scripts/deploy.ts --network coston2
Update hardhat.config.ts with your private key (use .env recommended) to deploy to live networks.