The Shade DApp Frontend is the user interface for interacting with the Shade decentralized payment gateway. It allows merchants and customers to manage and process crypto payments through a simple, wallet-connected web application.
The frontend connects directly to the Shade smart contracts and backend services to enable invoice creation, payment processing, and real-time transaction updates.
-
Wallet-Based Authentication
Users connect their crypto wallet to access the platform without traditional login credentials. -
Merchant Dashboard
Create, track, and manage invoices in a clean and intuitive interface. -
Invoice Payments
Customers can pay invoices by entering a valid invoice reference and completing the transaction through their wallet. -
Real-Time Status Updates
Invoice states automatically update as payments are completed or cancelled. -
SDK Integration
Works seamlessly with the Shade React SDK to embed payment functionality into merchant platforms.
- Next.js
- React
- TypeScript
- Tailwind CSS
- Stellar wallet integrations
- Smart contract interaction
- REST APIs for off-chain services
The frontend enables users to:
- Connect a wallet
- Generate and manage invoices
- Pay invoices using supported tokens
- Monitor invoice status (
PENDING,PAID,CANCELLED) - Withdraw merchant funds
Clone the repository:
git clone https://github.com/<your-org>/shade-dapp-frontend.git
cd shade-dapp-frontendInstall dependencies:
npm installStart the development server:
npm run devRun checks:
npm run typecheck
npm run format:checkFormat files:
npm run format- Create a branch from
main. - Keep changes focused on one task or bug fix.
- Run
npm run typecheckandnpm run format:checkbefore opening a pull request. - Fill out the pull request template with a short summary, verification steps, and any notes.
- Request review after CI passes.