Note: Uncap is winding down. The protocol continues to function normally on-chain. This frontend will remain live until August 2026 to give users ample time to withdraw their funds.
Uncap is a decentralized protocol on Starknet (heavily inspired by Liquity v2) with two core functions:
- Borrow against your Bitcoin — Get liquidity without selling
- Mint USDU — A Bitcoin-backed, uncensorable stablecoin
- Set your own interest rate — From as low as 0.5%, the cheapest in DeFi
- Non-custodial — Your Bitcoin is never lent out or rehypothecated
- Tax-efficient — Access liquidity without triggering a taxable sale
- Full ownership — Get your Bitcoin back when you repay
USDU is a decentralized stablecoin backed by over-collateralized Bitcoin:
- Always redeemable — 1 USDU = $1 worth of Bitcoin, no questions asked
- Uncensorable — No blacklists, no admin keys, can never be frozen
- Earn yield — Deposit in the Stability Pool to earn real yield from borrower interest
- Hard-pegged — Backed by >$1 of Bitcoin per USDU
- Node.js (v18 or higher)
- pnpm (v8 or higher)
- A Starknet wallet (Argent X or Braavos)
- An Alchemy account (or another Starknet RPC provider)
- Clone the repository:
git clone https://github.com/UncapLabs/frontend.git
cd frontend- Install dependencies:
pnpm install- Create environment files from the examples:
cp .env.example .env.development
cp .dev.vars.example .dev.varsThen edit both files and fill in your API keys.
.env.development — client-side variables (exposed to the browser):
| Variable | Description |
|---|---|
VITE_CHAIN_ID |
SN_MAIN for mainnet, SN_SEPOLIA for testnet |
VITE_ALCHEMY_API |
Your Alchemy API key |
.dev.vars — server-side variables (Cloudflare Workers, never exposed to client):
| Variable | Description |
|---|---|
NODE_URL |
Starknet RPC endpoint (Alchemy, Infura, etc.) |
GRAPHQL_ENDPOINT |
Indexer endpoint for querying on-chain data |
CLAIM_BACKEND_URL |
Backend for STRK claim proofs |
NETWORK |
mainnet or sepolia |
- Start the development server:
pnpm devThe application will be available at http://localhost:5173.
pnpm buildThe application is deployed to Cloudflare Workers:
pnpm deploy- React 19
- TypeScript
- TailwindCSS
- tRPC
- Starknet.js
- Cloudflare Workers
- Vite
The protocol smart contracts have been audited by ChainSecurity.