Skip to content

Commit 6e74f64

Browse files
authored
Merge pull request #291 from mubking/Soroban
feat: connect Soroban contract bindings to Next.js frontend (#187)
2 parents c1ac081 + 03d828e commit 6e74f64

21 files changed

Lines changed: 12001 additions & 7725 deletions

.env.example

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,8 @@ CORS_ALLOW_ORIGINS=
2323
# Sentry DSN for error tracking
2424
# Get this from your Sentry project settings
2525
NEXT_PUBLIC_SENTRY_DSN=your_sentry_dsn_here
26+
27+
# Soroban / Stellar Smart Contracts
28+
NEXT_PUBLIC_SOROBAN_RPC_URL=https://soroban-testnet.stellar.org
29+
NEXT_PUBLIC_STELLAR_NETWORK_PASSPHRASE=Test SDF Network ; September 2015
30+
NEXT_PUBLIC_INVOICE_CONTRACT_ID=your_deployed_invoice_contract_id_here
-42.7 KB
Binary file not shown.

.next/package.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

.next/server/app-paths-manifest.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

.next/server/pages-manifest.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

.next/server/server-reference-manifest.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

.next/server/server-reference-manifest.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

.next/trace

Lines changed: 0 additions & 47 deletions
This file was deleted.

.next/types/package.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,15 @@ The frontend interface for the TradeFlow protocol, enabling decentralized invoic
1515
## 🚦 Status
1616
- **Development**: Active
1717
- **CI/CD**: Passing
18+
19+
20+
21+
<!-- git add .
22+
git commit -m "feat: connect Soroban contract bindings to Next.js frontend (#187)
23+
24+
- Add lib/soroban with config, client, and invoice contract wrappers
25+
- Add useInvoice and useMintInvoice hooks
26+
- Wire hooks into InvoiceMintForm and marketplace/inv-123 page
27+
- Pull contract ID and network passphrase from env vars"
28+
29+
git push origin Soroban -->

0 commit comments

Comments
 (0)