Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions submissions/OrbitX_Equifund/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
DATABASE_ENGINE=sqlite
PORT=4000
HOST=0.0.0.0
JWT_SECRET=change-me-now
DATABASE_PATH=./data/stellaris.db
DATABASE_URL=
CORS_ORIGIN=*

LIQUIDITY_BUFFER_RATIO=0.3
PROTOCOL_RESERVE_RATIO=0.1
INDIA_LIQUIDITY_BUFFER_RATIO=0.3
INDIA_YIELD_DEPLOYMENT_RATIO=0.7
GLOBAL_LIQUIDITY_BUFFER_RATIO=0.3
GLOBAL_YIELD_DEPLOYMENT_RATIO=0.7

INDIA_FIAT_PROVIDER=Razorpay
INDIA_ESCROW_BANK_NAME=Escrow Banking Partner
INDIA_ESCROW_BANK_ACCOUNT=
INDIA_ESCROW_BANK_IFSC=
RAZORPAY_KEY_ID=
RAZORPAY_KEY_SECRET=
PHONEPE_MERCHANT_ID=
PHONEPE_SALT_KEY=
PHONEPE_SALT_INDEX=

AAVE_POOL_ADDRESS=
MORPHO_MARKET_ID=
USDC_TOKEN_ADDRESS=

GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
APPLE_CLIENT_ID=
APPLE_TEAM_ID=
APPLE_KEY_ID=
APPLE_PRIVATE_KEY=
FACEBOOK_APP_ID=
FACEBOOK_APP_SECRET=

ESCROW_MODE=MOCK
ESCROW_RPC_URL=
ESCROW_CONTRACT_ADDRESS=
ESCROW_ADMIN_PRIVATE_KEY=
ESCROW_SYNC_START_BLOCK=0
ESCROW_CHAIN_ID=11155111

VOTING_WINDOW_HOURS=72
MILESTONE_APPROVAL_THRESHOLD=0.6
MILESTONE_QUORUM_THRESHOLD=0.3
ARBITRATION_MIN_VOTES=3
5 changes: 5 additions & 0 deletions submissions/OrbitX_Equifund/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
dist
data
.env
*.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# GEMINI_API_KEY: Required for Gemini AI API calls.
# AI Studio automatically injects this at runtime from user secrets.
# Users configure this via the Secrets panel in the AI Studio UI.
GEMINI_API_KEY="MY_GEMINI_API_KEY"

# APP_URL: The URL where this applet is hosted.
# AI Studio automatically injects this at runtime with the Cloud Run service URL.
# Used for self-referential links, OAuth callbacks, and API endpoints.
APP_URL="MY_APP_URL"

# Frontend API base URL for the Stellaris backend.
VITE_API_BASE_URL="http://localhost:4000/api"
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
node_modules/
build/
dist/
coverage/
.DS_Store
*.log
.env*
!.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<div align="center">
<img width="1200" height="475" alt="GHBanner" src="https://github.com/user-attachments/assets/0aa67016-6eaf-458a-adb2-6e31a0763ed6" />
</div>

# Run and deploy your AI Studio app

This contains everything you need to run your app locally.

View your app in AI Studio: https://ai.studio/apps/ab9344df-72fd-43e1-a0b4-84b896055684

## Run Locally

**Prerequisites:** Node.js


1. Install dependencies:
`npm install`
2. Set the `GEMINI_API_KEY` in [.env.local](.env.local) to your Gemini API key
3. Run the app:
`npm run dev`
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Equifund | Web3 Crowdfunding</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet">
</head>
<body class="bg-black text-white antialiased selection:bg-white/30">
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "Equifund - Web3 Crowdfunding",
"description": "A milestone-based crowdfunding platform with zero platform fees, quadratic voting, and DeFi yield generation.",
"requestFramePermissions": []
}
Loading
Loading