Trust Trail (tr) Think. Verify. Authorize. Execute.

Trust Trail is a Solana Devnet powered prototype for owner-controlled mandates and AI-assisted lending assessment. Its product direction is privacy-aware lending against tokenized equity: an AI agent may assess an opportunity, deterministic checks evaluate it against supplied policy evidence, and the owner retains control of supported on-chain actions.

Prototype status

The program controls native SOL only. Tokenized-equity lending eligibility, trusted valuation, liquidity, loan accounting, collateral locking, liquidation, repayment, and settlement are not implemented. The lending demonstration uses Groq for an advisory proposal and a server-side verifier with fictional, server-owned evidence; demo scenarios are not live collateral or lending transactions.

What works today

Capability Status Notes
Solana wallet connection Implemented Wallet Standard-compatible connection in the browser, including Phantom when available.
Separate agent identity Implemented Browser-generated identity; encrypted IndexedDB backup uses PBKDF2 and AES-GCM.
Devnet identity check Implemented The application checks the configured RPC genesis hash before enabling mandate operations.
Native SOL mandate and vault Live on Devnet Owner-authorized initialize, deposit, policy update, revoke, reactivate, and withdrawal paths.
AI interpretation of native SOL payment requests Implemented Server-side Groq structured output. Its result is untrusted and is not authority to execute.
Native SOL payment firewall Implemented Decodes the actual unsigned transaction and compares it with the signed intent and current mandate. It does not sign or submit the transaction.
Equity portfolio ownership and valuation Unavailable No supported issuer-verified mint or trusted price source is configured. The app does not enumerate the wallet's entire token portfolio.
Lending assessment Demonstration plus unavailable live mode POST /api/lending/assess requests an advisory Groq proposal; POST /api/lending/verify independently verifies it server-side. Demo mode uses server-owned fictional evidence. Live mode independently reads the selected SPL/SPL-2022 token account and derived native-SOL mandate/vault from Devnet, but lending eligibility remains unavailable.
Lending transaction settlement Not implemented Never route lending through the M1 native SOL payment instruction.

The current Devnet program address is 7hucMRtxEjUYn9hbKPsByneQmmu4Qrv7qDgaVG59ryEY. The configured application RPC is checked against Devnet genesis hash EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG.

Technology

  • Next.js App Router
  • React
  • TypeScript
  • Tailwind CSS
  • Solana Wallet Adapter / Wallet Standard, @solana/web3.js,
  • Anchor TypeScript client Anchor
  • Rust program tr_mandate
  • Groq Chat Completions API, with default model openai/gpt-oss-20b
  • All provider access is server-side Zod structured input/output validation Vitest for frontend, API-helper, and lending-verifier tests;
  • Node test runner for Anchor program tests

Built With

Share this project:

Updates

posted an update —

Building Trust Trail has reinforced one important principle: AI should assist financial decisions, never become the unquestioned authority behind them.

Developing on Solana has allowed our team to explore how AI agents, deterministic transaction verification, and on-chain mandates can work together to make autonomous finance safer and more accountable.

Trust Trail is still evolving, particularly towards tokenized-equity-backed lending, but the foundation is taking shape.

This is just the beginning. I welcome feedback, collaboration, and ideas from the Devpost community as we continue building.

Think. Verify. Authorize. Execute.

Submission history