尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗Live demo: https://stellarlend-frontend-tau.vercel.app
StellarLend is an over-collateralised lending market on Stellar (Soroban). This repo is the web UI: a landing page, a markets dashboard with supply / borrow / withdraw / repay flows, a flash-loan activity page, Freighter wallet connect, and docs.
/markets: asset table, health factor, borrowing limit, trade panel/flash-loans: recent on-chain flash-loan and repayment events, fee observations, utilization limit, and pause state/amm: add/remove AMM liquidity with exact integer previews and Freighter signing/docs: user docs, risk parameters, deployed contract list, env varsNext.js 15 (App Router, React 19, Tailwind 4). Wallet signing via @stellar/freighter-api, balances from Horizon, contract IDs from NEXT_PUBLIC_* env vars. With a wallet on testnet and NEXT_PUBLIC_LENDING_CONTRACT_ID set, the XLM market reads positions and submits deposit / borrow / withdraw / repay transactions to the deployed lending contract. Without a wallet (or before the contract is configured) the app falls back to a clearly labelled browser-local demo ledger. Contracts live in StellarLend/stellarlend-contracts.
app/ routes (/, /markets, /docs)
components/ wallet provider, markets app
lib/ config (env), market data
npm install
cp .env.example .env.local
npm run dev # http://localhost:3000
npm run build
| Name | Purpose |
|---|---|
NEXT_PUBLIC_STELLAR_NETWORK | testnet |
NEXT_PUBLIC_HORIZON_URL | Horizon endpoint |
NEXT_PUBLIC_SOROBAN_RPC_URL | Soroban RPC endpoint |
NEXT_PUBLIC_LENDING_CONTRACT_ID | Deployed lending contract (testnet) |
NEXT_PUBLIC_AMM_CONTRACT_ID | Deployed AMM pool contract |
NEXT_PUBLIC_AMM_TOKEN_A_CONTRACT_ID | Token A Soroban contract used by the pool |
NEXT_PUBLIC_AMM_TOKEN_B_CONTRACT_ID | Token B Soroban contract used by the pool |
NEXT_PUBLIC_AMM_TOKEN_A_HORIZON_ASSET | Optional Token A Horizon asset in CODE:ISSUER form |
NEXT_PUBLIC_AMM_TOKEN_B_HORIZON_ASSET | Optional Token B Horizon asset in CODE:ISSUER form |
Lending contract (Stellar testnet): CC4A6A46O2KQA7KEMOFK3TQ4YRSLCJ4ZP26SQWXIKNF4DTEX3BOL2HF6
Set as NEXT_PUBLIC_LENDING_CONTRACT_ID in Vercel. Oracle and token contracts are not deployed.
Deployed on Vercel; set the env vars above in the project settings.