Skip to content

fredericklamar342-prog/OMEN1

Repository files navigation

Omen Protocol

The Trust Layer for the Sui Ecosystem.

Structure

  • apps/web: Next.js 14 Web Application (White Canvas Protocol Design System)
  • packages/sdk: Clean TypeScript SDK for trust score queries and security assertions.

Development

Setup

  1. From the root directory, install dependencies:

    npm install
  2. Build the packages and apps:

    npm run build

Running Locally

To start the web application:

npm run dev

The app will be available at http://localhost:3000.

SDK Usage

import { OmenSDK } from "@omen-labs/sdk";

const omen = new OmenSDK({ network: "mainnet" });

// Get Trust Index
const { score, status } = await omen.getTrustScore("0x...");

// On-chain Protection
omen.injectSecurityAssertion(tx, {
  targetContract: "0x...",
  minScore: 85,
});

Production Stack

The Omen platform uses a production-grade infrastructure for user onboarding:

  • Database: Supabase (PostgreSQL) for secure, scalable waitlist storage.
  • Notifications: EmailJS for instant user confirmations and admin alerts.
  • Deployment: Vercel for high-performance global delivery.

Environment Configuration

To enable the waitlist system, ensure the following variables are configured:

# Supabase (OMEN Project)
NEXT_PUBLIC_SUPABASE_URL=...
NEXT_PUBLIC_SUPABASE_ANON_KEY=...

# EmailJS
NEXT_PUBLIC_EMAILJS_SERVICE_ID=...
NEXT_PUBLIC_EMAILJS_PUBLIC_KEY=...
NEXT_PUBLIC_EMAILJS_CONFIRM_TEMPLATE_ID=...

About

OmenLabs is a Web3 trust layer that verifies builders, protocols, and teams without exposing private identity.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages