feat: add Next.js papers site for papers.zenlm.org

This commit is contained in:
Zach Kelling
2026-02-19 19:11:40 -08:00
parent edef4fd9a2
commit b8e7efcdc4
18 changed files with 2714 additions and 0 deletions
+44
View File
@@ -0,0 +1,44 @@
name: Deploy Papers Site
on:
push:
branches: [main]
paths:
- 'site/**'
- '.github/workflows/deploy-site.yml'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: cd site && npm ci && npm run build
env:
NEXT_PUBLIC_BRAND: zen
- uses: actions/upload-pages-artifact@v3
with:
path: site/out
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
+1
View File
@@ -0,0 +1 @@
NEXT_PUBLIC_BRAND=zen
+3
View File
@@ -0,0 +1,3 @@
.next/
out/
node_modules/
+5
View File
@@ -0,0 +1,5 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+14
View File
@@ -0,0 +1,14 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
images: {
unoptimized: true,
},
trailingSlash: true,
// Base path will be set via environment variable for different deployments
basePath: process.env.NEXT_PUBLIC_BASE_PATH || '',
// Asset prefix for GitHub Pages
assetPrefix: process.env.NEXT_PUBLIC_BASE_PATH || '',
}
module.exports = nextConfig
+1641
View File
File diff suppressed because it is too large Load Diff
+29
View File
@@ -0,0 +1,29 @@
{
"name": "@zenlm/papers-site",
"version": "1.0.0",
"description": "Zen AI research papers website - papers.zenlm.org",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"export": "next build && next export",
"lint": "next lint"
},
"dependencies": {
"next": "^14.2.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"clsx": "^2.1.0",
"tailwind-merge": "^2.2.0"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"typescript": "^5.4.0",
"tailwindcss": "^3.4.0",
"postcss": "^8.4.0",
"autoprefixer": "^10.4.0"
}
}
+6
View File
@@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
+1
View File
@@ -0,0 +1 @@
papers.zenlm.org
+59
View File
@@ -0,0 +1,59 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--background: 0 0% 100%;
--foreground: 222.2 84% 4.9%;
--card: 0 0% 100%;
--card-foreground: 222.2 84% 4.9%;
--popover: 0 0% 100%;
--popover-foreground: 222.2 84% 4.9%;
--primary: 222.2 47.4% 11.2%;
--primary-foreground: 210 40% 98%;
--secondary: 210 40% 96.1%;
--secondary-foreground: 222.2 47.4% 11.2%;
--muted: 210 40% 96.1%;
--muted-foreground: 215.4 16.3% 46.9%;
--accent: 210 40% 96.1%;
--accent-foreground: 222.2 47.4% 11.2%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 210 40% 98%;
--border: 214.3 31.8% 91.4%;
--input: 214.3 31.8% 91.4%;
--ring: 222.2 84% 4.9%;
--radius: 0.5rem;
}
.dark {
--background: 222.2 84% 4.9%;
--foreground: 210 40% 98%;
--card: 222.2 84% 4.9%;
--card-foreground: 210 40% 98%;
--popover: 222.2 84% 4.9%;
--popover-foreground: 210 40% 98%;
--primary: 210 40% 98%;
--primary-foreground: 222.2 47.4% 11.2%;
--secondary: 217.2 32.6% 17.5%;
--secondary-foreground: 210 40% 98%;
--muted: 217.2 32.6% 17.5%;
--muted-foreground: 215 20.2% 65.1%;
--accent: 217.2 32.6% 17.5%;
--accent-foreground: 210 40% 98%;
--destructive: 0 62.8% 30.6%;
--destructive-foreground: 210 40% 98%;
--border: 217.2 32.6% 17.5%;
--input: 217.2 32.6% 17.5%;
--ring: 212.7 26.8% 83.9%;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
}
}
+39
View File
@@ -0,0 +1,39 @@
import type { Metadata } from 'next'
import { Inter } from 'next/font/google'
import './globals.css'
import { getBrandConfig } from '@/config/brands'
const inter = Inter({ subsets: ['latin'] })
const brandConfig = getBrandConfig()
export const metadata: Metadata = {
title: `${brandConfig.name} Research Papers`,
description: brandConfig.description,
openGraph: {
title: `${brandConfig.name} Research Papers`,
description: brandConfig.description,
url: brandConfig.website,
siteName: `${brandConfig.name} Papers`,
type: 'website',
},
twitter: {
card: 'summary_large_image',
title: `${brandConfig.name} Research Papers`,
description: brandConfig.description,
},
}
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en">
<body className={inter.className}>
{children}
</body>
</html>
)
}
+69
View File
@@ -0,0 +1,69 @@
import { getBrandConfig } from '@/config/brands'
import { Header } from '@/components/Header'
import { PaperCard } from '@/components/PaperCard'
import { Footer } from '@/components/Footer'
export default function Home() {
const config = getBrandConfig()
return (
<main className="min-h-screen bg-gradient-to-br from-gray-50 to-gray-100 dark:from-gray-900 dark:to-gray-800">
<Header config={config} />
<div className="container mx-auto px-4 py-12">
{/* Hero Section */}
<div className="text-center mb-16">
<h1 className="text-5xl font-bold mb-4 bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent">
{config.name} Research Papers
</h1>
<p className="text-xl text-gray-600 dark:text-gray-300 max-w-3xl mx-auto">
{config.description}
</p>
</div>
{/* Papers Grid */}
{config.papers.length > 0 ? (
<div className="grid gap-8 md:grid-cols-2 lg:grid-cols-3 max-w-7xl mx-auto">
{config.papers.map((paper) => (
<PaperCard key={paper.id} paper={paper} brand={config.name.toLowerCase()} />
))}
</div>
) : (
<div className="text-center py-16">
<p className="text-gray-500 dark:text-gray-400 text-lg">
Papers coming soon...
</p>
</div>
)}
{/* Additional Info */}
<div className="mt-16 max-w-4xl mx-auto bg-white dark:bg-gray-800 rounded-lg shadow-lg p-8">
<h2 className="text-2xl font-bold mb-4">About {config.fullName}</h2>
<p className="text-gray-600 dark:text-gray-300 mb-6">
{config.description}
</p>
<div className="flex gap-4 flex-wrap">
<a
href={config.website}
target="_blank"
rel="noopener noreferrer"
className="px-6 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors"
>
Visit Website
</a>
<a
href={config.github}
target="_blank"
rel="noopener noreferrer"
className="px-6 py-2 bg-gray-800 text-white rounded-lg hover:bg-gray-900 transition-colors"
>
View on GitHub
</a>
</div>
</div>
</div>
<Footer config={config} />
</main>
)
}
+51
View File
@@ -0,0 +1,51 @@
import type { BrandConfig } from '@/config/brands'
interface FooterProps {
config: BrandConfig
}
export function Footer({ config }: FooterProps) {
return (
<footer className="border-t border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-900 mt-20">
<div className="container mx-auto px-4 py-8">
<div className="flex flex-col md:flex-row items-center justify-between gap-4">
<div className="text-center md:text-left">
<p className="text-gray-600 dark:text-gray-400">
© {new Date().getFullYear()} {config.fullName}
</p>
<p className="text-sm text-gray-500 dark:text-gray-500 mt-1">
Open source research papers
</p>
</div>
<div className="flex items-center gap-6">
<a
href={config.website}
target="_blank"
rel="noopener noreferrer"
className="text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white transition-colors"
>
Website
</a>
<a
href={config.github}
target="_blank"
rel="noopener noreferrer"
className="text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white transition-colors"
>
GitHub
</a>
<a
href="https://github.com/hanzo-apps/papers"
target="_blank"
rel="noopener noreferrer"
className="text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white transition-colors"
>
Template
</a>
</div>
</div>
</div>
</footer>
)
}
+55
View File
@@ -0,0 +1,55 @@
import type { BrandConfig } from '@/config/brands'
import Image from 'next/image'
interface HeaderProps {
config: BrandConfig
}
export function Header({ config }: HeaderProps) {
return (
<header className="border-b border-gray-200 dark:border-gray-700 bg-white/80 dark:bg-gray-900/80 backdrop-blur-sm sticky top-0 z-50">
<div className="container mx-auto px-4 py-4">
<div className="flex items-center justify-between">
<div className="flex items-center gap-2">
<div>
<h1 className="text-xl font-bold">{config.name}</h1>
<p className="text-sm text-gray-500 dark:text-gray-400">Research Papers</p>
</div>
</div>
<div className="flex items-center gap-6">
<nav className="hidden md:flex items-center gap-6">
<a
href={config.website}
target="_blank"
rel="noopener noreferrer"
className="text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white transition-colors"
>
Website
</a>
<a
href={config.github}
target="_blank"
rel="noopener noreferrer"
className="text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white transition-colors"
>
GitHub
</a>
</nav>
{/* Lux downward-pointing triangle logo - inverted colors */}
<div className="w-10 h-10 flex items-center justify-center">
<svg
viewBox="0 0 100 100"
className="w-8 h-8"
xmlns="http://www.w3.org/2000/svg"
>
<path d="M50 85 L15 25 L85 25 Z" fill="currentColor" className="text-black dark:text-white"/>
</svg>
</div>
</div>
</div>
</div>
</header>
)
}
+114
View File
@@ -0,0 +1,114 @@
import type { PaperConfig } from '@/config/brands'
interface PaperCardProps {
paper: PaperConfig
brand: string
}
export function PaperCard({ paper, brand }: PaperCardProps) {
const brandColors: Record<string, string> = {
hanzo: 'from-orange-500 to-blue-600',
zoo: 'from-green-500 to-emerald-600',
zen: 'from-purple-500 to-pink-600',
lux: 'from-blue-500 to-cyan-600',
}
const gradientClass = brandColors[brand] || 'from-blue-500 to-purple-600'
return (
<article className="bg-white dark:bg-gray-800 rounded-xl shadow-lg overflow-hidden hover:shadow-2xl transition-shadow duration-300">
{/* Header with gradient */}
<div className={`h-2 bg-gradient-to-r ${gradientClass}`} />
<div className="p-6">
{/* Date and Tags */}
<div className="flex items-center justify-between mb-3">
<time className="text-sm text-gray-500 dark:text-gray-400">
{new Date(paper.date).toLocaleDateString('en-US', {
year: 'numeric',
month: 'long',
day: 'numeric',
})}
</time>
</div>
{/* Title */}
<h2 className="text-2xl font-bold mb-2 text-gray-900 dark:text-white">
{paper.title}
</h2>
{/* Subtitle */}
<h3 className="text-lg text-gray-600 dark:text-gray-300 mb-4">
{paper.subtitle}
</h3>
{/* Authors */}
<div className="mb-4">
<p className="text-sm font-medium text-gray-700 dark:text-gray-300">
{paper.authors.join(', ')}
</p>
</div>
{/* Abstract */}
<p className="text-gray-600 dark:text-gray-400 mb-6 line-clamp-4">
{paper.abstract}
</p>
{/* Tags */}
<div className="flex flex-wrap gap-2 mb-6">
{paper.tags.map((tag) => (
<span
key={tag}
className="px-3 py-1 text-xs font-medium bg-gray-100 dark:bg-gray-700 text-gray-700 dark:text-gray-300 rounded-full"
>
{tag}
</span>
))}
</div>
{/* Actions */}
<div className="flex flex-wrap gap-3">
<a
href={paper.pdfUrl}
target="_blank"
rel="noopener noreferrer"
className={`flex-1 px-4 py-2 bg-gradient-to-r ${gradientClass} text-white rounded-lg hover:opacity-90 transition-opacity text-center font-medium`}
>
Read PDF
</a>
<a
href={paper.githubUrl}
target="_blank"
rel="noopener noreferrer"
className="px-4 py-2 bg-gray-800 dark:bg-gray-700 text-white rounded-lg hover:bg-gray-900 dark:hover:bg-gray-600 transition-colors"
>
GitHub
</a>
</div>
{/* Related Links */}
{paper.relatedLinks && paper.relatedLinks.length > 0 && (
<div className="mt-4 pt-4 border-t border-gray-200 dark:border-gray-700">
<p className="text-sm font-medium text-gray-700 dark:text-gray-300 mb-2">
Related Links:
</p>
<ul className="space-y-1">
{paper.relatedLinks.map((link, index) => (
<li key={index}>
<a
href={link.url}
target="_blank"
rel="noopener noreferrer"
className="text-sm text-blue-600 dark:text-blue-400 hover:underline"
>
{link.label}
</a>
</li>
))}
</ul>
</div>
)}
</div>
</article>
)
}
+480
View File
@@ -0,0 +1,480 @@
export type Brand = 'hanzo' | 'zoo' | 'zen' | 'lux'
export interface BrandConfig {
name: string
fullName: string
description: string
website: string
github: string
primaryColor: string
secondaryColor: string
accentColor: string
logo: string
papers: PaperConfig[]
}
export interface PaperConfig {
id: string
title: string
subtitle: string
abstract: string
pdfUrl: string
latexUrl?: string
githubUrl: string
date: string
authors: string[]
tags: string[]
relatedLinks?: {
label: string
url: string
}[]
}
export const brandConfigs: Record<Brand, BrandConfig> = {
hanzo: {
name: 'Hanzo AI',
fullName: 'Hanzo AI Inc (Techstars \'17)',
description: 'AI compute infrastructure and market mechanisms for decentralized AI workloads',
website: 'https://hanzo.ai',
github: 'https://github.com/hanzoai',
primaryColor: '#FF6B35',
secondaryColor: '#004E89',
accentColor: '#00D9FF',
logo: '/logos/hanzo-logo.svg',
papers: [
{
id: 'hmm',
title: 'Hamiltonian Market Maker (HMM)',
subtitle: 'Oracle-Minimal Pricing for AI Compute Marketplace',
abstract: 'A novel AMM design for heterogeneous compute resources with provably-stable pricing via Hamiltonian invariants. Enables oracle-minimal economic settlement for AI inference and training workloads.',
pdfUrl: 'https://github.com/hanzoai/papers/raw/main/hanzo-hmm.pdf',
latexUrl: 'https://github.com/hanzoai/papers/blob/main/hanzo-hmm.tex',
githubUrl: 'https://github.com/hanzoai/papers',
date: '2024-10-28',
authors: ['Hanzo AI Research'],
tags: ['Economics', 'DeFi', 'Compute Marketplace', 'AMM'],
relatedLinks: [
{ label: 'HIP-004 Specification', url: 'https://github.com/hanzoai/papers/blob/main/hips/HIP-004-hmm.md' },
{ label: 'Hanzo Network', url: 'https://hanzo.ai' },
],
},
{
id: 'aso',
title: 'Active Semantic Optimization (ASO)',
subtitle: 'Training-Free GRPO for Single-Agent Adaptation',
abstract: 'Training-free adaptation via Bayesian product-of-experts (PoE) decoding with token/embedding-level experiential priors. Foundation for Zoo\'s DSO multi-agent coordination.',
pdfUrl: 'https://github.com/hanzoai/papers/raw/main/hanzo-aso.pdf',
latexUrl: 'https://github.com/hanzoai/papers/blob/main/hanzo-aso.tex',
githubUrl: 'https://github.com/hanzoai/papers',
date: '2024-06-15',
authors: ['Hanzo AI Research'],
tags: ['Machine Learning', 'LLMs', 'Active Learning', 'GRPO'],
relatedLinks: [
{ label: 'HIP-002 Specification', url: 'https://github.com/hanzoai/papers/blob/main/hips/HIP-002-aso.md' },
{ label: 'Zoo DSO (builds on ASO)', url: 'https://github.com/zooai/papers' },
],
},
{
id: 'network',
title: 'Hanzo Network Whitepaper',
subtitle: 'L1 Blockchain for Decentralized AI Compute',
abstract: 'Comprehensive whitepaper describing Hanzo Network\'s Layer-1 blockchain infrastructure, integrating HMM for compute pricing and supporting PoAI consensus for quality verification.',
pdfUrl: 'https://github.com/hanzoai/papers/raw/main/hanzo-network-whitepaper.pdf',
latexUrl: 'https://github.com/hanzoai/papers/blob/main/hanzo-network-whitepaper.tex',
githubUrl: 'https://github.com/hanzoai/papers',
date: '2024-10-20',
authors: ['Hanzo AI Team'],
tags: ['Blockchain', 'Infrastructure', 'Network', 'Architecture'],
relatedLinks: [
{ label: 'Hanzo Network', url: 'https://hanzo.ai' },
{ label: 'GitHub', url: 'https://github.com/hanzoai' },
],
},
],
},
zoo: {
name: 'Zoo Labs',
fullName: 'Zoo Labs Foundation (501c3)',
description: 'Democratizing AI through decentralized training and open source frontier models',
website: 'https://zoo.ngo',
github: 'https://github.com/zooai',
primaryColor: '#2ECC71',
secondaryColor: '#27AE60',
accentColor: '#F39C12',
logo: '/logos/zoo-logo.svg',
papers: [
{
id: 'dso',
title: 'Decentralized Semantic Optimization (DSO)',
subtitle: 'Byzantine-Robust Prior Aggregation for Collective Intelligence',
abstract: 'A decentralized protocol for aggregating AI model priors with Byzantine fault tolerance, enabling collective intelligence at network scale. Builds on Hanzo\'s ASO with multi-agent coordination.',
pdfUrl: 'https://github.com/zooai/papers/raw/main/zoo-dso.pdf',
latexUrl: 'https://github.com/zooai/papers/blob/main/zoo-dso.tex',
githubUrl: 'https://github.com/zooai/papers',
date: '2024-10-28',
authors: ['Zoo Labs Foundation'],
tags: ['Machine Learning', 'Multi-Agent', 'Byzantine Fault Tolerance', 'Collective Intelligence'],
relatedLinks: [
{ label: 'ZIP-001 Specification', url: 'https://github.com/zooai/zips/blob/main/ZIP-001-dso.md' },
{ label: 'Hanzo ASO (foundation)', url: 'https://github.com/hanzoai/papers' },
],
},
{
id: 'genesis',
title: 'Zoo Labs Genesis Paper',
subtitle: 'AI-Powered Asset-Backed NFTs and Agent Wallets (October 2021)',
abstract: 'The foundational whitepaper establishing Zoo Labs as one of the first AI-powered NFT ecosystems. Each NFT represents an autonomous AI agent with its own crypto wallet. Launched October 2021 as 100% airdrop to CryptoZoo users.',
pdfUrl: 'https://github.com/zooai/papers/raw/main/zoo-genesis-whitepaper.md',
githubUrl: 'https://github.com/zooai/papers',
date: '2021-10-01',
authors: ['Zoo Labs Foundation'],
tags: ['NFT', 'AI Agents', 'Game-Fi', 'Genesis', 'Historical'],
relatedLinks: [
{ label: 'ZIP-003 Documentation', url: 'https://github.com/zooai/zips/blob/main/ZIP-003-genesis.md' },
{ label: 'Zoo Website', url: 'https://zoo.ngo' },
{ label: 'AI Chat', url: 'https://ai.zoo.ngo' },
],
},
],
},
zen: {
name: 'Zen AI',
fullName: 'Zen AI Model Family',
description: 'Ultra-efficient frontier language models (600M-480B parameters) co-developed by Hanzo AI and Zoo Labs',
website: 'https://zenlm.ai',
github: 'https://github.com/zenlm',
primaryColor: '#9B59B6',
secondaryColor: '#8E44AD',
accentColor: '#E74C3C',
logo: '/logos/zen-logo.svg',
papers: [
{
id: 'whitepaper',
title: 'Zen AI Whitepaper v1.0.1',
subtitle: 'Ultra-Efficient Frontier Language Models',
abstract: 'Complete Zen ecosystem documentation covering 600M to 480B parameter models with 95% reduction in energy consumption, RAIS achieving 94% effectiveness, and edge deployment capabilities.',
pdfUrl: 'https://github.com/zenlm/papers/raw/main/ZEN_WHITEPAPER_2025.md',
githubUrl: 'https://github.com/zenlm/papers',
date: '2025-01-15',
authors: ['Hanzo AI Inc', 'Zoo Labs Foundation'],
tags: ['LLMs', 'Efficiency', 'Edge Computing', 'Model Architecture'],
relatedLinks: [
{ label: 'Model Hub', url: 'https://huggingface.co/zenlm' },
{ label: 'Documentation', url: 'https://zenlm.ai' },
],
},
],
},
lux: {
name: 'Lux',
fullName: 'Lux Network',
description: 'Post-quantum secure, high-performance blockchain infrastructure - Layer-0 for Hanzo (AI Compute) and Zoo (AI/ML Specialization)',
website: 'https://lux.network',
github: 'https://github.com/luxfi',
primaryColor: '#3498DB',
secondaryColor: '#2980B9',
accentColor: '#E67E22',
logo: '/logos/lux-logo.svg',
papers: [
// Foundation & Consensus
{
id: 'quantum-consensus',
title: 'Quantum Consensus',
subtitle: 'Post-Quantum Cryptography with Dilithium Signatures',
abstract: 'Implementation of NIST-standardized Dilithium post-quantum signatures for validator consensus, ensuring security against quantum computer attacks.',
pdfUrl: 'https://github.com/luxfi/papers/raw/main/pdfs/lux-quantum-consensus.pdf',
latexUrl: 'https://github.com/luxfi/papers/blob/main/lux-quantum-consensus.tex',
githubUrl: 'https://github.com/luxfi/papers',
date: '2024-06-01',
authors: ['Lux Partners'],
tags: ['Consensus', 'Post-Quantum', 'Cryptography', 'Dilithium'],
},
{
id: 'quasar-consensus',
title: 'Quasar Consensus',
subtitle: 'Dual-Certificate Quantum-Secure Finality (BLS + Ringtail)',
abstract: 'Novel consensus mechanism combining BLS signatures with post-quantum Ringtail signatures for quantum-safe finality with efficient verification.',
pdfUrl: 'https://github.com/luxfi/papers/raw/main/pdfs/lux-quasar-consensus.pdf',
latexUrl: 'https://github.com/luxfi/papers/blob/main/lux-quasar-consensus.tex',
githubUrl: 'https://github.com/luxfi/papers',
date: '2024-09-01',
authors: ['Lux Partners'],
tags: ['Consensus', 'Post-Quantum', 'BLS', 'Ringtail', 'Finality'],
},
{
id: 'fpc-consensus',
title: 'FPC Consensus',
subtitle: 'Fast Probabilistic Consensus with Adaptive Thresholds',
abstract: 'High-throughput probabilistic consensus protocol with adaptive security thresholds and sub-second finality for optimal performance.',
pdfUrl: 'https://github.com/luxfi/papers/raw/main/pdfs/lux-fpc-consensus.pdf',
latexUrl: 'https://github.com/luxfi/papers/blob/main/lux-fpc-consensus.tex',
githubUrl: 'https://github.com/luxfi/papers',
date: '2024-12-01',
authors: ['Lux Partners'],
tags: ['Consensus', 'Performance', 'Probabilistic', 'Low-Latency'],
},
// Chain Architecture
{
id: 'achain',
title: 'A-Chain: Attestation Chain',
subtitle: 'TEE Attestation & AI Compute Verification',
abstract: 'Trusted Execution Environment attestation chain supporting Intel SGX, AMD SEV-SNP, NVIDIA H100 CC, and ARM CCA for verifiable AI compute.',
pdfUrl: 'https://github.com/luxfi/papers/raw/main/pdfs/lux-achain-attestation.pdf',
latexUrl: 'https://github.com/luxfi/papers/blob/main/lux-achain-attestation.tex',
githubUrl: 'https://github.com/luxfi/papers',
date: '2024-10-01',
authors: ['Lux Partners'],
tags: ['TEE', 'Attestation', 'AI Compute', 'SGX', 'SEV-SNP', 'H100'],
},
{
id: 'gchain',
title: 'G-Chain: GraphQL Chain',
subtitle: 'Universal GraphQL Query Engine with BadgerDB',
abstract: 'High-performance query layer with GraphQL API and BadgerDB storage for efficient blockchain data access and indexing.',
pdfUrl: 'https://github.com/luxfi/papers/raw/main/pdfs/lux-gchain-graphql.pdf',
latexUrl: 'https://github.com/luxfi/papers/blob/main/lux-gchain-graphql.tex',
githubUrl: 'https://github.com/luxfi/papers',
date: '2024-08-01',
authors: ['Lux Partners'],
tags: ['GraphQL', 'Indexing', 'BadgerDB', 'Query Engine'],
},
{
id: 'mchain',
title: 'M-Chain: MPC Chain',
subtitle: 'MPC Threshold Custody (CGG21, MuSig2, FROST, Ringtail)',
abstract: 'Multi-party computation chain for threshold custody supporting multiple protocols including post-quantum Ringtail signatures.',
pdfUrl: 'https://github.com/luxfi/papers/raw/main/pdfs/lux-mchain-mpc.pdf',
latexUrl: 'https://github.com/luxfi/papers/blob/main/lux-mchain-mpc.tex',
githubUrl: 'https://github.com/luxfi/papers',
date: '2024-09-15',
authors: ['Lux Partners'],
tags: ['MPC', 'Threshold Signatures', 'CGG21', 'MuSig2', 'FROST'],
},
{
id: 'zchain',
title: 'Z-Chain: Zero-Knowledge Chain',
subtitle: 'Privacy-Preserving Smart Contracts (zkEVM, FHE, TEE)',
abstract: 'Privacy layer combining zkEVM, fully homomorphic encryption, and trusted execution environments for confidential smart contracts.',
pdfUrl: 'https://github.com/luxfi/papers/raw/main/pdfs/lux-zchain.pdf',
latexUrl: 'https://github.com/luxfi/papers/blob/main/lux-zchain.tex',
githubUrl: 'https://github.com/luxfi/papers',
date: '2024-11-01',
authors: ['Lux Partners'],
tags: ['Privacy', 'zkEVM', 'FHE', 'TEE', 'Smart Contracts'],
},
// Cross-Chain
{
id: 'bridge',
title: 'Lux Bridge',
subtitle: 'Cross-Chain with ZK Light Clients & IBC Integration',
abstract: 'Trustless cross-chain bridge using zero-knowledge light clients and IBC protocol for interoperability with Cosmos and Ethereum.',
pdfUrl: 'https://github.com/luxfi/papers/raw/main/pdfs/lux-bridge.pdf',
latexUrl: 'https://github.com/luxfi/papers/blob/main/lux-bridge.tex',
githubUrl: 'https://github.com/luxfi/papers',
date: '2024-07-01',
authors: ['Lux Partners'],
tags: ['Bridge', 'IBC', 'Zero-Knowledge', 'Interoperability'],
},
// DeFi Protocols
{
id: 'lightspeed-dex',
title: 'Lightspeed DEX',
subtitle: 'HFT-Optimized DEX with 261ms Latency & FPGA Matching',
abstract: 'Ultra-low latency decentralized exchange with FPGA-accelerated order matching achieving institutional-grade performance.',
pdfUrl: 'https://github.com/luxfi/papers/raw/main/pdfs/lux-lightspeed-dex.pdf',
latexUrl: 'https://github.com/luxfi/papers/blob/main/lux-lightspeed-dex.tex',
githubUrl: 'https://github.com/luxfi/papers',
date: '2024-05-01',
authors: ['Lux Partners'],
tags: ['DeFi', 'DEX', 'HFT', 'FPGA', 'Low-Latency'],
},
{
id: 'credit',
title: 'Lux Credit',
subtitle: 'Self-Repaying Lending with 90% LTV & 11% APY',
abstract: 'Novel lending protocol with self-repaying mechanism, high loan-to-value ratios, and attractive yields on LUX staking.',
pdfUrl: 'https://github.com/luxfi/papers/raw/main/pdfs/lux-credit-lending.pdf',
latexUrl: 'https://github.com/luxfi/papers/blob/main/lux-credit-lending.tex',
githubUrl: 'https://github.com/luxfi/papers',
date: '2024-08-15',
authors: ['Lux Partners'],
tags: ['DeFi', 'Lending', 'Credit', 'Self-Repaying'],
},
{
id: 'oracle',
title: 'Oracle Infrastructure',
subtitle: 'AI Oracle (LP-106) + Traditional Price Feeds',
abstract: 'Hybrid oracle system combining AI-powered LP-106 protocol with Chainlink and Pyth for reliable price feeds.',
pdfUrl: 'https://github.com/luxfi/papers/raw/main/pdfs/lux-oracle-infrastructure.pdf',
latexUrl: 'https://github.com/luxfi/papers/blob/main/lux-oracle-infrastructure.tex',
githubUrl: 'https://github.com/luxfi/papers',
date: '2024-09-01',
authors: ['Lux Partners'],
tags: ['Oracle', 'AI', 'Price Feeds', 'Chainlink', 'Pyth'],
},
{
id: 'perpetuals',
title: 'Perpetuals & Derivatives',
subtitle: 'GMX2 Integration with Funding Rates & Liquidation Engine',
abstract: 'Perpetual futures and derivatives platform integrated with GMX v2 architecture for advanced trading capabilities.',
pdfUrl: 'https://github.com/luxfi/papers/raw/main/pdfs/lux-perpetuals-derivatives.pdf',
latexUrl: 'https://github.com/luxfi/papers/blob/main/lux-perpetuals-derivatives.tex',
githubUrl: 'https://github.com/luxfi/papers',
date: '2024-10-15',
authors: ['Lux Partners'],
tags: ['DeFi', 'Perpetuals', 'Derivatives', 'GMX', 'Trading'],
},
// Web3 Infrastructure
{
id: 'market',
title: 'Lux.market NFT',
subtitle: 'NFT Marketplace with Reservoir Aggregation',
abstract: 'Multi-chain NFT marketplace aggregating liquidity from 14+ chains using Reservoir protocol for optimal pricing.',
pdfUrl: 'https://github.com/luxfi/papers/raw/main/pdfs/lux-market-nft.pdf',
latexUrl: 'https://github.com/luxfi/papers/blob/main/lux-market-nft.tex',
githubUrl: 'https://github.com/luxfi/papers',
date: '2024-07-15',
authors: ['Lux Partners'],
tags: ['NFT', 'Marketplace', 'Reservoir', 'Multi-Chain'],
},
{
id: 'id-iam',
title: 'Lux ID IAM',
subtitle: 'Identity & Access Management',
abstract: 'Enterprise-grade identity and access management supporting OAuth 2.0, OIDC, SAML, WebAuthn, and multi-factor authentication.',
pdfUrl: 'https://github.com/luxfi/papers/raw/main/pdfs/lux-id-iam.pdf',
latexUrl: 'https://github.com/luxfi/papers/blob/main/lux-id-iam.tex',
githubUrl: 'https://github.com/luxfi/papers',
date: '2024-06-15',
authors: ['Lux Partners'],
tags: ['Identity', 'IAM', 'OAuth', 'WebAuthn', 'SSO'],
},
{
id: 'id-did',
title: 'Lux ID DID Specification',
subtitle: 'Decentralized Identifiers (did:lux:)',
abstract: 'W3C-compliant DID specification for Lux Network enabling self-sovereign identity and verifiable credentials.',
pdfUrl: 'https://github.com/luxfi/papers/raw/main/pdfs/lux-id-did-specification.pdf',
latexUrl: 'https://github.com/luxfi/papers/blob/main/lux-id-did-specification.tex',
githubUrl: 'https://github.com/luxfi/papers',
date: '2024-06-20',
authors: ['Lux Partners'],
tags: ['DID', 'Identity', 'W3C', 'Verifiable Credentials'],
},
// Governance & DAO
{
id: 'governance',
title: 'Governance & DAO',
subtitle: 'Multi-Ecosystem DAO (Lux, Zoo, Hanzo)',
abstract: 'Holographic consensus-based governance spanning Lux, Zoo, and Hanzo ecosystems for unified decision-making.',
pdfUrl: 'https://github.com/luxfi/papers/raw/main/pdfs/lux-governance-dao.pdf',
latexUrl: 'https://github.com/luxfi/papers/blob/main/lux-governance-dao.tex',
githubUrl: 'https://github.com/luxfi/papers',
date: '2024-08-01',
authors: ['Lux Partners'],
tags: ['Governance', 'DAO', 'Holographic Consensus', 'Multi-Ecosystem'],
},
{
id: 'dao-framework',
title: 'DAO Governance Framework',
subtitle: 'Azorius Framework with ERC6551 NFT Governance',
abstract: 'Advanced DAO governance using Azorius framework with ERC6551 token-bound accounts for NFT-based voting.',
pdfUrl: 'https://github.com/luxfi/papers/raw/main/pdfs/lux-dao-governance-framework.pdf',
latexUrl: 'https://github.com/luxfi/papers/blob/main/lux-dao-governance-framework.tex',
githubUrl: 'https://github.com/luxfi/papers',
date: '2024-08-15',
authors: ['Lux Partners'],
tags: ['DAO', 'Governance', 'Azorius', 'ERC6551', 'NFT'],
},
// Post-Quantum Innovations
{
id: 'ntt',
title: 'NTT Transform',
subtitle: '85% Gas Reduction for Post-Quantum Crypto on EVM',
abstract: 'Number Theoretic Transform optimization for post-quantum algorithms (FALCON, Dilithium, STARKs) achieving massive gas savings.',
pdfUrl: 'https://github.com/luxfi/papers/raw/main/pdfs/lux-ntt-transform.pdf',
latexUrl: 'https://github.com/luxfi/papers/blob/main/lux-ntt-transform.tex',
githubUrl: 'https://github.com/luxfi/papers',
date: '2024-05-15',
authors: ['Lux Partners'],
tags: ['Post-Quantum', 'NTT', 'Gas Optimization', 'EVM'],
},
{
id: 'ethfalcon',
title: 'ETHFALCON',
subtitle: 'Post-Quantum FALCON Signatures for Ethereum',
abstract: 'Optimized implementation of FALCON post-quantum signatures for Ethereum, enabling quantum-safe transactions.',
pdfUrl: 'https://github.com/luxfi/papers/raw/main/pdfs/lux-ethfalcon-post-quantum.pdf',
latexUrl: 'https://github.com/luxfi/papers/blob/main/lux-ethfalcon-post-quantum.tex',
githubUrl: 'https://github.com/luxfi/papers',
date: '2024-07-01',
authors: ['Lux Partners'],
tags: ['Post-Quantum', 'FALCON', 'Ethereum', 'Signatures'],
},
{
id: 'threshold-signatures',
title: 'Universal Threshold Signatures',
subtitle: 'Unified Framework (CMP, FROST, LSS, Doerner, Ringtail)',
abstract: 'Comprehensive threshold signature framework supporting multiple protocols including post-quantum Ringtail.',
pdfUrl: 'https://github.com/luxfi/papers/raw/main/pdfs/lux-universal-threshold-signatures.pdf',
latexUrl: 'https://github.com/luxfi/papers/blob/main/lux-universal-threshold-signatures.tex',
githubUrl: 'https://github.com/luxfi/papers',
date: '2024-09-01',
authors: ['Lux Partners'],
tags: ['Threshold Signatures', 'MPC', 'Post-Quantum', 'CMP', 'FROST'],
},
// Scalability & Layer 2
{
id: 'verkle',
title: 'Verkle Trees',
subtitle: 'Constant-Size Proofs (~150 bytes) for Stateless Clients',
abstract: 'Implementation of Verkle trees for efficient state proofs enabling stateless client operation with minimal bandwidth.',
pdfUrl: 'https://github.com/luxfi/papers/raw/main/pdfs/lux-verkle-trees.pdf',
latexUrl: 'https://github.com/luxfi/papers/blob/main/lux-verkle-trees.tex',
githubUrl: 'https://github.com/luxfi/papers',
date: '2024-10-01',
authors: ['Lux Partners'],
tags: ['Verkle Trees', 'Scalability', 'Stateless', 'State Proofs'],
},
{
id: 'fraud-proofs',
title: 'Fraud Proofs',
subtitle: 'Optimistic Rollups with Interactive Bisection Game',
abstract: 'Optimistic rollup implementation with efficient fraud proof mechanism using interactive bisection for dispute resolution.',
pdfUrl: 'https://github.com/luxfi/papers/raw/main/pdfs/lux-fraud-proofs.pdf',
latexUrl: 'https://github.com/luxfi/papers/blob/main/lux-fraud-proofs.tex',
githubUrl: 'https://github.com/luxfi/papers',
date: '2024-11-15',
authors: ['Lux Partners'],
tags: ['Layer 2', 'Optimistic Rollups', 'Fraud Proofs', 'Scalability'],
},
// Advanced Infrastructure
{
id: 'tee-mesh',
title: 'TEE Computing Mesh',
subtitle: 'Distributed TEE Network for Confidential Computing',
abstract: 'Mesh network of trusted execution environments (SGX, SEV-SNP, TDX, CCA) for distributed confidential computing.',
pdfUrl: 'https://github.com/luxfi/papers/raw/main/pdfs/lux-tee-computing-mesh.pdf',
latexUrl: 'https://github.com/luxfi/papers/blob/main/lux-tee-computing-mesh.tex',
githubUrl: 'https://github.com/luxfi/papers',
date: '2024-12-01',
authors: ['Lux Partners'],
tags: ['TEE', 'Confidential Computing', 'SGX', 'SEV-SNP', 'TDX'],
},
],
},
}
// Get brand from environment or default to hanzo
export function getBrand(): Brand {
const brand = process.env.NEXT_PUBLIC_BRAND?.toLowerCase()
if (brand && brand in brandConfigs) {
return brand as Brand
}
return 'hanzo'
}
export function getBrandConfig(brand?: Brand): BrandConfig {
const b = brand || getBrand()
return brandConfigs[b]
}
+75
View File
@@ -0,0 +1,75 @@
import type { Config } from 'tailwindcss'
const config: Config = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
colors: {
border: 'hsl(var(--border))',
input: 'hsl(var(--input))',
ring: 'hsl(var(--ring))',
background: 'hsl(var(--background))',
foreground: 'hsl(var(--foreground))',
primary: {
DEFAULT: 'hsl(var(--primary))',
foreground: 'hsl(var(--primary-foreground))',
},
secondary: {
DEFAULT: 'hsl(var(--secondary))',
foreground: 'hsl(var(--secondary-foreground))',
},
destructive: {
DEFAULT: 'hsl(var(--destructive))',
foreground: 'hsl(var(--destructive-foreground))',
},
muted: {
DEFAULT: 'hsl(var(--muted))',
foreground: 'hsl(var(--muted-foreground))',
},
accent: {
DEFAULT: 'hsl(var(--accent))',
foreground: 'hsl(var(--accent-foreground))',
},
popover: {
DEFAULT: 'hsl(var(--popover))',
foreground: 'hsl(var(--popover-foreground))',
},
card: {
DEFAULT: 'hsl(var(--card))',
foreground: 'hsl(var(--card-foreground))',
},
hanzo: {
primary: '#FF6B35',
secondary: '#004E89',
accent: '#00D9FF',
},
zoo: {
primary: '#2ECC71',
secondary: '#27AE60',
accent: '#F39C12',
},
zen: {
primary: '#9B59B6',
secondary: '#8E44AD',
accent: '#E74C3C',
},
lux: {
primary: '#3498DB',
secondary: '#2980B9',
accent: '#E67E22',
},
},
borderRadius: {
lg: 'var(--radius)',
md: 'calc(var(--radius) - 2px)',
sm: 'calc(var(--radius) - 4px)',
},
},
},
plugins: [],
}
export default config
+28
View File
@@ -0,0 +1,28 @@
{
"compilerOptions": {
"target": "ES2020",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./src/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}