All projects

OmniTrust Africa

Africa's cybersecurity firm offering enterprise services and Web3-powered academy courses paid via Chainlink.

DeFi & Tokenization CRE & AI Risk & Compliance World Tenderly Thirdweb

What it is

OmniTrust Africa is a full-stack cybersecurity company platform serving both enterprise clients and individual learners across Africa. On the services side, it offers penetration testing, incident response, network security, and digital forensics to businesses. On the academy side, it offers professional cybersecurity courses — Web Security Fundamentals, Network Security Essentials, Introduction to Penetration Testing, and Incident Response Mastery.
The Chainlink integration solves a real payment problem: African learners and clients increasingly hold crypto but course prices are in USD. Rather than forcing a manual conversion, OmniTrust Academy lets users pay for courses directly in ETH at a fair, real-time USD-equivalent price fetched live from Chainlink's ETH/USD Data Feed on Sepolia.
When a user clicks Enrol on any course, they land on a dedicated payment page that calls Chainlink's price feed contract at 0x694AA1769357215DE4FAC081bf1f309aDC325306 via latestRoundData(), converts the course USD price into the exact ETH amount, and presents the order before the user confirms via MetaMask. The transaction hash is recorded on-chain and enrollment is stored in PostgreSQL, granting the learner immediate course access.

How it Works

  • Frontend & Backend: Next.js 16, React 19, TypeScript, Framer Motion
  • Authentication: NextAuth v5 — email/password credentials + Google OAuth
  • Database: PostgreSQL on Supabase, managed with Prisma ORM
  • Smart Contract: Solidity 0.8.19 on Sepolia, imports Chainlink AggregatorV3Interface, exposes getLatestPrice(), getEthAmount(), and purchaseCourse() with 2% slippage tolerance
  • Chainlink: ETH/USD Data Feed on Sepolia (0x694AA1769357215DE4FAC081bf1f309aDC325306) — consumed both on-chain in the smart contract and off-chain in the frontend via direct RPC eth_call
  • Wallet: MetaMask for transaction signing
  • Deployment: Vercel (frontend + API), Sepolia testnet (smart contract)

Links

Created by

  • Misheck Munga