diff --git a/src/app/faq/page.tsx b/src/app/faq/page.tsx new file mode 100644 index 0000000..0e21d02 --- /dev/null +++ b/src/app/faq/page.tsx @@ -0,0 +1,115 @@ +import React from "react"; +import Link from "next/link"; +import { Home } from "lucide-react"; + +export default function FAQ() { + return ( +
+ {/* Navigation */} +
+ + + Back to Dashboard + + +

+ Frequently Asked Questions +

+

+ Learn more about TradeFlow and how our RWA protocol works. +

+
+ + {/* FAQ Content */} +
+ {/* FAQ Item 1 */} +
+

+ What is TradeFlow? +

+

+ TradeFlow is a Real World Asset (RWA) protocol built on the Stellar blockchain that enables + tokenization and trading of invoice-based assets. Our platform allows businesses to convert + their invoices into digital tokens, creating liquidity and enabling new financing opportunities + in the DeFi ecosystem. +

+
+ + {/* FAQ Item 2 */} +
+

+ How does invoice tokenization work? +

+

+ When a business submits an invoice to TradeFlow, our risk engine analyzes the invoice + quality, debtor creditworthiness, and payment history. Approved invoices are minted as + NFT tokens on the Stellar blockchain, representing ownership of the future cash flow. + These tokens can then be traded on our secondary market or used as collateral for loans. +

+
+ + {/* FAQ Item 3 */} +
+

+ What are the fees for using TradeFlow? +

+

+ TradeFlow charges a 1% fee on invoice tokenization and a 0.5% fee on secondary market + trades. There are no upfront costs for submitting invoices for evaluation. Borrowers + pay interest rates ranging from 5-12% APR depending on the invoice quality and risk score, + significantly lower than traditional factoring rates. +

+
+ + {/* FAQ Item 4 */} +
+

+ What wallets are supported? +

+

+ Currently, TradeFlow supports Freighter wallet, the most popular wallet in the Stellar + ecosystem. We're working on adding support for additional wallets including MetaMask and + WalletConnect in future updates. All wallet connections are secured by Stellar's built-in + encryption and multi-signature support. +

+
+ + {/* FAQ Item 5 */} +
+

+ How is risk assessed for invoices? +

+

+ Our proprietary risk engine analyzes multiple factors including debtor credit history, + payment patterns, invoice age, industry risk, and macroeconomic conditions. Each invoice + receives a risk score from 0-100, which determines eligibility and pricing. Higher risk + scores result in better rates and higher tokenization limits. +

+
+ + {/* FAQ Item 6 */} +
+

+ Can I trade tokens before the invoice is paid? +

+

+ Yes, invoice tokens can be traded on our secondary market at any time before maturity. + The token price reflects the remaining time to payment and perceived risk. This provides + liquidity to invoice holders and investment opportunities for traders seeking yield from + short-term credit instruments. +

+
+
+ + {/* Footer */} +
+

+ Still have questions? Contact our support team or check our documentation. +

+
+
+ ); +} diff --git a/src/app/page.tsx b/src/app/page.tsx index d6c97f2..d02184f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -5,6 +5,14 @@ import { checkConnection, getPublicKey } from "@stellar/freighter-api"; import { Wallet, PlusCircle, ShieldCheck, Landmark } from "lucide-react"; import LoanTable from "../components/LoanTable"; import SkeletonRow from "../components/SkeletonRow"; +<<<<<<< Updated upstream +======= +import Footer from "../components/layout/Footer"; +import WalletModal from "../components/WalletModal"; +<<<<<<< Updated upstream +>>>>>>> Stashed changes +======= +>>>>>>> Stashed changes import useTransactionToast from "../lib/useTransactionToast"; import { formatCurrency, formatDate } from "../lib/format"; @@ -13,6 +21,7 @@ export default function Page() { const [invoices, setInvoices] = useState([]); const [loading, setLoading] = useState(false); const [showMintForm, setShowMintForm] = useState(false); + const [isModalOpen, setIsModalOpen] = useState(false); // 1. Connect Stellar Wallet (Freighter) const connectWallet = async () => { @@ -61,7 +70,7 @@ export default function Page() { TradeFlow RWA + + +
+ + + + + +
+ +
+

+ By connecting a wallet, you agree to the Terms of Service and Privacy Policy +

+
+ + + ); +}