-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdoc.html
More file actions
1535 lines (1344 loc) · 53.5 KB
/
doc.html
File metadata and controls
1535 lines (1344 loc) · 53.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Invoice Finance - Complete Documentation</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--red: #dc2626;
--red-dark: #991b1b;
--red-light: #fef2f2;
--green: #16a34a;
--green-dark: #15803d;
--green-light: #f0fdf4;
--white: #ffffff;
--gray-50: #f9fafb;
--gray-100: #f3f4f6;
--gray-200: #e5e7eb;
--gray-300: #d1d5db;
--gray-600: #4b5563;
--gray-700: #374151;
--gray-800: #1f2937;
--gray-900: #111827;
}
body {
font-family: 'Inter', sans-serif;
color: var(--gray-800);
line-height: 1.7;
background: var(--gray-50);
}
/* Header */
.header {
background: var(--white);
padding: 20px 60px;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
position: sticky;
top: 0;
z-index: 1000;
}
.logo {
font-size: 24px;
font-weight: 800;
background: linear-gradient(135deg, var(--red), var(--green));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
display: flex;
align-items: center;
gap: 10px;
}
.header-links {
display: flex;
gap: 30px;
align-items: center;
}
.header-links a {
text-decoration: none;
color: var(--gray-700);
font-weight: 500;
transition: color 0.3s;
}
.header-links a:hover {
color: var(--red);
}
.btn-home {
background: linear-gradient(135deg, var(--red), var(--red-dark));
color: var(--white);
padding: 10px 24px;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
transition: all 0.3s;
}
.btn-home:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}
/* Layout */
.docs-container {
display: flex;
max-width: 1600px;
margin: 0 auto;
}
/* Sidebar */
.sidebar {
width: 280px;
background: var(--white);
padding: 40px 0;
position: sticky;
top: 80px;
height: calc(100vh - 80px);
overflow-y: auto;
border-right: 1px solid var(--gray-200);
}
.sidebar-title {
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
color: var(--gray-600);
padding: 0 30px;
margin-bottom: 15px;
}
.sidebar-nav {
list-style: none;
}
.sidebar-nav li {
margin-bottom: 5px;
}
.sidebar-nav a {
display: block;
padding: 12px 30px;
color: var(--gray-700);
text-decoration: none;
font-size: 14px;
font-weight: 500;
transition: all 0.3s;
border-left: 3px solid transparent;
}
.sidebar-nav a:hover {
background: var(--gray-50);
color: var(--red);
border-left-color: var(--red);
}
.sidebar-nav a.active {
background: var(--red-light);
color: var(--red);
border-left-color: var(--red);
font-weight: 600;
}
.sidebar-nav .sub-item {
padding-left: 50px;
font-size: 13px;
}
/* Main Content */
.content {
flex: 1;
padding: 60px 80px;
max-width: 1000px;
}
.content h1 {
font-size: 48px;
color: var(--gray-900);
margin-bottom: 20px;
font-weight: 800;
line-height: 1.2;
}
.content h2 {
font-size: 36px;
color: var(--gray-900);
margin-top: 60px;
margin-bottom: 20px;
font-weight: 700;
padding-bottom: 15px;
border-bottom: 3px solid var(--gray-200);
}
.content h3 {
font-size: 24px;
color: var(--gray-800);
margin-top: 40px;
margin-bottom: 15px;
font-weight: 600;
}
.content h4 {
font-size: 18px;
color: var(--gray-800);
margin-top: 25px;
margin-bottom: 12px;
font-weight: 600;
}
.lead-text {
font-size: 20px;
color: var(--gray-600);
margin-bottom: 40px;
line-height: 1.8;
}
.content p {
margin-bottom: 20px;
font-size: 16px;
}
.content ul, .content ol {
margin-bottom: 25px;
padding-left: 30px;
}
.content li {
margin-bottom: 10px;
font-size: 16px;
}
/* Alert Boxes */
.alert {
padding: 20px 25px;
border-radius: 12px;
margin: 30px 0;
border-left: 4px solid;
}
.alert-info {
background: var(--green-light);
border-color: var(--green);
color: var(--green-dark);
}
.alert-warning {
background: var(--red-light);
border-color: var(--red);
color: var(--red-dark);
}
.alert h4 {
margin-top: 0;
margin-bottom: 10px;
display: flex;
align-items: center;
gap: 10px;
}
/* Code Blocks */
.code-block {
background: var(--gray-900);
color: var(--green);
padding: 25px;
border-radius: 12px;
margin: 25px 0;
overflow-x: auto;
font-family: 'Courier New', monospace;
font-size: 14px;
line-height: 1.6;
border: 1px solid var(--gray-700);
}
/* Step Cards */
.step-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 25px;
margin: 30px 0;
}
.step-card {
background: var(--white);
border: 2px solid var(--gray-200);
border-radius: 16px;
padding: 30px;
transition: all 0.3s;
}
.step-card:hover {
border-color: var(--green);
box-shadow: 0 10px 30px rgba(22, 163, 74, 0.1);
transform: translateY(-5px);
}
.step-number {
width: 50px;
height: 50px;
background: linear-gradient(135deg, var(--red), var(--red-dark));
color: var(--white);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: 800;
font-size: 24px;
margin-bottom: 20px;
}
.step-card:nth-child(2) .step-number {
background: linear-gradient(135deg, var(--gray-600), var(--gray-700));
}
.step-card:nth-child(3) .step-number {
background: linear-gradient(135deg, var(--green), var(--green-dark));
}
.step-card h4 {
margin-top: 0;
color: var(--gray-900);
}
/* Architecture Diagram */
.diagram {
background: var(--white);
padding: 40px;
border-radius: 16px;
margin: 40px 0;
border: 2px solid var(--gray-200);
text-align: center;
}
.diagram svg {
max-width: 100%;
height: auto;
}
/* Feature Grid */
.feature-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 25px;
margin: 30px 0;
}
.feature-box {
background: var(--white);
border: 2px solid var(--gray-200);
border-radius: 12px;
padding: 25px;
transition: all 0.3s;
}
.feature-box:hover {
border-color: var(--red);
box-shadow: 0 8px 25px rgba(220, 38, 38, 0.1);
}
.feature-icon {
font-size: 36px;
margin-bottom: 15px;
}
.feature-box h4 {
margin-top: 0;
color: var(--red);
}
/* Table */
.table-container {
overflow-x: auto;
margin: 30px 0;
border-radius: 12px;
border: 1px solid var(--gray-200);
}
table {
width: 100%;
border-collapse: collapse;
background: var(--white);
}
th {
background: linear-gradient(135deg, var(--red), var(--red-dark));
color: var(--white);
padding: 15px;
text-align: left;
font-weight: 600;
font-size: 14px;
}
td {
padding: 15px;
border-bottom: 1px solid var(--gray-200);
font-size: 14px;
}
tr:last-child td {
border-bottom: none;
}
tr:hover {
background: var(--gray-50);
}
/* TOC */
.toc {
background: var(--white);
border: 2px solid var(--green);
border-radius: 12px;
padding: 30px;
margin: 40px 0;
}
.toc h3 {
margin-top: 0;
color: var(--green);
display: flex;
align-items: center;
gap: 10px;
}
.toc ul {
list-style: none;
padding-left: 0;
}
.toc li {
margin-bottom: 12px;
}
.toc a {
color: var(--gray-700);
text-decoration: none;
font-weight: 500;
transition: color 0.3s;
}
.toc a:hover {
color: var(--green);
}
/* Scroll to top button */
.scroll-top {
position: fixed;
bottom: 30px;
right: 30px;
width: 50px;
height: 50px;
background: linear-gradient(135deg, var(--red), var(--red-dark));
color: var(--white);
border: none;
border-radius: 50%;
font-size: 24px;
cursor: pointer;
box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
opacity: 0;
transition: all 0.3s;
z-index: 999;
}
.scroll-top.visible {
opacity: 1;
}
.scroll-top:hover {
transform: translateY(-5px);
box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}
/* Responsive */
@media (max-width: 1024px) {
.sidebar {
display: none;
}
.content {
padding: 40px 30px;
}
.feature-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 768px) {
.header {
padding: 20px 30px;
}
.content h1 {
font-size: 36px;
}
.content h2 {
font-size: 28px;
}
.step-cards {
grid-template-columns: 1fr;
}
}
</style>
</head>
<body>
<!-- Header -->
<header class="header">
<div class="logo">📄 Invoice Finance</div>
<div class="header-links">
<a href="#overview">Overview</a>
<a href="#getting-started">Getting Started</a>
<a href="#guides">Guides</a>
<a href="index.html" class="btn-home">← Back to Home</a>
</div>
</header>
<div class="docs-container">
<!-- Sidebar Navigation -->
<aside class="sidebar">
<div class="sidebar-title">Documentation</div>
<ul class="sidebar-nav">
<li><a href="#overview" class="active">Overview</a></li>
<li><a href="#problem" class="sub-item">The Problem</a></li>
<li><a href="#solution" class="sub-item">Our Solution</a></li>
<li><a href="#features" class="sub-item">Key Features</a></li>
<li><a href="#architecture">System Architecture</a></li>
<li><a href="#getting-started">Getting Started</a></li>
<li><a href="#wallet-setup" class="sub-item">Wallet Setup</a></li>
<li><a href="#connect-wallet" class="sub-item">Connect Wallet</a></li>
<li><a href="#user-guides">User Guides</a></li>
<li><a href="#issuer-guide" class="sub-item">For Invoice Issuers</a></li>
<li><a href="#investor-guide" class="sub-item">For Investors</a></li>
<li><a href="#managing-invoices" class="sub-item">Managing Invoices</a></li>
<li><a href="#smart-contracts">Smart Contracts</a></li>
<li><a href="#nft-structure" class="sub-item">NFT Structure</a></li>
<li><a href="#security" class="sub-item">Security</a></li>
<li><a href="#fees">Fees & Pricing</a></li>
<li><a href="#faq">FAQ</a></li>
<li><a href="#support">Support</a></li>
</ul>
</aside>
<!-- Main Content -->
<main class="content">
<!-- Overview Section -->
<section id="overview">
<h1>📄 Invoice Finance Documentation</h1>
<p class="lead-text">
Welcome to the comprehensive documentation for Invoice Finance - the decentralized platform revolutionizing invoice financing through blockchain technology on the Cardano network.
</p>
<!-- Table of Contents -->
<div class="toc">
<h3>📚 Table of Contents</h3>
<ul>
<li><a href="#overview">1. Overview</a></li>
<li><a href="#architecture">2. System Architecture</a></li>
<li><a href="#getting-started">3. Getting Started</a></li>
<li><a href="#user-guides">4. User Guides</a></li>
<li><a href="#smart-contracts">5. Smart Contracts & Security</a></li>
<li><a href="#fees">6. Fees & Pricing</a></li>
<li><a href="#faq">7. Frequently Asked Questions</a></li>
<li><a href="#support">8. Support & Resources</a></li>
</ul>
</div>
<h2 id="problem">The Problem</h2>
<p>
Traditional invoice financing presents significant challenges for businesses worldwide, particularly small and medium enterprises (SMEs):
</p>
<div class="feature-grid">
<div class="feature-box">
<div class="feature-icon">⏰</div>
<h4>Cash Flow Constraints</h4>
<p>Businesses often wait 30-90 days for invoice payments, creating severe cash flow bottlenecks that hinder operations and growth.</p>
</div>
<div class="feature-box">
<div class="feature-icon">🏦</div>
<h4>Limited Access to Capital</h4>
<p>Traditional banks and factoring companies impose strict credit requirements, lengthy approval processes, and high fees that exclude many businesses.</p>
</div>
<div class="feature-box">
<div class="feature-icon">💸</div>
<h4>High Costs</h4>
<p>Factoring fees typically range from 1-5% of invoice value, with additional hidden charges significantly reducing business profitability.</p>
</div>
<div class="feature-box">
<div class="feature-icon">🔒</div>
<h4>Lack of Transparency</h4>
<p>Opaque pricing structures, complex terms, and limited visibility into the funding process create uncertainty and mistrust.</p>
</div>
</div>
<h2 id="solution">Our Solution</h2>
<p>
Invoice Finance leverages blockchain technology to create a transparent, efficient, and accessible invoice financing marketplace that benefits both invoice issuers and investors.
</p>
<div class="alert alert-info">
<h4>💡 Key Innovation</h4>
<p>
By tokenizing invoices as NFTs on the Cardano blockchain, we create verifiable, tradeable digital assets that can be funded instantly by a global pool of investors, eliminating traditional intermediaries and reducing costs.
</p>
</div>
<h3>How It Works</h3>
<p>Our platform operates on a simple three-step process:</p>
<div class="step-cards">
<div class="step-card">
<div class="step-number">1</div>
<h4>Tokenize</h4>
<p>Business uploads their invoice to the platform. The invoice is verified and automatically minted as a unique NFT on the Cardano blockchain with all relevant metadata.</p>
</div>
<div class="step-card">
<div class="step-number">2</div>
<h4>Fund</h4>
<p>Investors browse available invoice NFTs in the marketplace and fund invoices they find attractive. Smart contracts handle the secure transfer of funds to the invoice issuer.</p>
</div>
<div class="step-card">
<div class="step-number">3</div>
<h4>Repay</h4>
<p>When the original debtor pays the invoice, the issuer repays the investor through the smart contract. The investor receives the agreed-upon return, and the NFT is burned.</p>
</div>
</div>
<h2 id="features">Key Features</h2>
<div class="feature-grid">
<div class="feature-box">
<div class="feature-icon">⚡</div>
<h4>Instant NFT Minting</h4>
<p>Invoices are automatically converted into NFTs within seconds of upload, creating immutable on-chain records.</p>
</div>
<div class="feature-box">
<div class="feature-icon">🌍</div>
<h4>Global Marketplace</h4>
<p>Access funding from investors worldwide, increasing competition and improving rates for invoice issuers.</p>
</div>
<div class="feature-box">
<div class="feature-icon">🔐</div>
<h4>Smart Contract Security</h4>
<p>All transactions are secured by Cardano smart contracts, eliminating counterparty risk and ensuring transparent execution.</p>
</div>
<div class="feature-box">
<div class="feature-icon">📊</div>
<h4>Complete Transparency</h4>
<p>Every transaction is recorded on-chain, providing full visibility into invoice status, funding terms, and payment history.</p>
</div>
<div class="feature-box">
<div class="feature-icon">💰</div>
<h4>Competitive Rates</h4>
<p>Market-driven pricing ensures fair rates, typically 50-70% lower than traditional factoring services.</p>
</div>
<div class="feature-box">
<div class="feature-icon">🚀</div>
<h4>Fast Funding</h4>
<p>Receive funds within minutes of investor acceptance, not weeks like traditional channels.</p>
</div>
</div>
</section>
<!-- Architecture Section -->
<section id="architecture">
<h2>System Architecture</h2>
<p>
Invoice Finance is built on a robust, decentralized architecture leveraging Cardano blockchain technology for maximum security, transparency, and efficiency.
</p>
<h3>Technical Stack</h3>
<ul>
<li><strong>Blockchain:</strong> Cardano (Proof-of-Stake)</li>
<li><strong>Smart Contracts:</strong> Plutus (Cardano's native smart contract language)</li>
<li><strong>Wallet Integration:</strong> Cardano wallet connectors (Nami, Eternl, Flint)</li>
<li><strong>NFT Standard:</strong> CIP-25 (Cardano NFT metadata standard)</li>
<li><strong>Frontend:</strong> Modern web technologies (HTML5, CSS3, JavaScript)</li>
</ul>
<div class="diagram">
<h3>System Flow Diagram</h3>
<svg width="800" height="600" viewBox="0 0 800 600" xmlns="https://www.w3.org/TR/SVG/">
<!-- Invoice Issuer -->
<rect x="50" y="50" width="180" height="100" fill="#fef2f2" stroke="#dc2626" stroke-width="3" rx="10"/>
<text x="140" y="90" text-anchor="middle" font-size="16" font-weight="bold" fill="#dc2626">Invoice Issuer</text>
<text x="140" y="115" text-anchor="middle" font-size="14" fill="#991b1b">Uploads Invoice</text>
<!-- Platform -->
<rect x="310" y="50" width="180" height="100" fill="#f9fafb" stroke="#4b5563" stroke-width="3" rx="10"/>
<text x="400" y="85" text-anchor="middle" font-size="16" font-weight="bold" fill="#1f2937">Invoice Finance</text>
<text x="400" y="105" text-anchor="middle" font-size="14" fill="#4b5563">Platform</text>
<text x="400" y="125" text-anchor="middle" font-size="12" fill="#6b7280">(Web DApp)</text>
<!-- Investor -->
<rect x="570" y="50" width="180" height="100" fill="#f0fdf4" stroke="#16a34a" stroke-width="3" rx="10"/>
<text x="660" y="90" text-anchor="middle" font-size="16" font-weight="bold" fill="#16a34a">Investor</text>
<text x="660" y="115" text-anchor="middle" font-size="14" fill="#15803d">Funds Invoice</text>
<!-- Cardano Blockchain -->
<rect x="210" y="250" width="380" height="120" fill="#0f1419" stroke="#16a34a" stroke-width="3" rx="10"/>
<text x="400" y="285" text-anchor="middle" font-size="18" font-weight="bold" fill="#ffffff">Cardano Blockchain</text>
<text x="400" y="310" text-anchor="middle" font-size="14" fill="#e5e7eb">Smart Contracts Layer</text>
<text x="400" y="335" text-anchor="middle" font-size="13" fill="#9ca3af">• NFT Minting • Escrow • Payment Processing</text>
<!-- NFT Storage -->
<rect x="100" y="450" width="200" height="100" fill="#f9fafb" stroke="#dc2626" stroke-width="2" rx="10"/>
<text x="200" y="485" text-anchor="middle" font-size="16" font-weight="bold" fill="#dc2626">NFT Metadata</text>
<text x="200" y="510" text-anchor="middle" font-size="13" fill="#6b7280">Invoice Details</text>
<text x="200" y="530" text-anchor="middle" font-size="13" fill="#6b7280">Terms & Conditions</text>
<!-- Transaction History -->
<rect x="500" y="450" width="200" height="100" fill="#f9fafb" stroke="#16a34a" stroke-width="2" rx="10"/>
<text x="600" y="485" text-anchor="middle" font-size="16" font-weight="bold" fill="#16a34a">On-Chain Records</text>
<text x="600" y="510" text-anchor="middle" font-size="13" fill="#6b7280">Funding History</text>
<text x="600" y="530" text-anchor="middle" font-size="13" fill="#6b7280">Repayment Status</text>
<!-- Arrows -->
<!-- Issuer to Platform -->
<path d="M 230 100 L 310 100" stroke="#dc2626" stroke-width="2" fill="none" marker-end="url(#arrowRed)"/>
<text x="270" y="90" text-anchor="middle" font-size="11" fill="#dc2626">Upload</text>
<!-- Platform to Investor -->
<path d="M 490 100 L 570 100" stroke="#16a34a" stroke-width="2" fill="none" marker-end="url(#arrowGreen)"/>
<text x="530" y="90" text-anchor="middle" font-size="11" fill="#16a34a">Browse</text>
<!-- Platform to Blockchain -->
<path d="M 400 150 L 400 250" stroke="#4b5563" stroke-width="2" fill="none" marker-end="url(#arrowGray)"/>
<text x="430" y="200" text-anchor="middle" font-size="11" fill="#4b5563">Interact</text>
<!-- Blockchain to NFT -->
<path d="M 280 370 L 220 450" stroke="#dc2626" stroke-width="2" fill="none" marker-end="url(#arrowRed)"/>
<text x="230" y="410" text-anchor="middle" font-size="11" fill="#dc2626">Store</text>
<!-- Blockchain to History -->
<path d="M 520 370 L 580 450" stroke="#16a34a" stroke-width="2" fill="none" marker-end="url(#arrowGreen)"/>
<text x="570" y="410" text-anchor="middle" font-size="11" fill="#16a34a">Record</text>
<!-- Arrow markers -->
<defs>
<marker id="arrowRed" markerWidth="10" markerHeight="10" refX="9" refY="3" orient="auto" markerUnits="strokeWidth">
<path d="M0,0 L0,6 L9,3 z" fill="#dc2626" />
</marker>
<marker id="arrowGreen" markerWidth="10" markerHeight="10" refX="9" refY="3" orient="auto" markerUnits="strokeWidth">
<path d="M0,0 L0,6 L9,3 z" fill="#16a34a" />
</marker>
<marker id="arrowGray" markerWidth="10" markerHeight="10" refX="9" refY="3" orient="auto" markerUnits="strokeWidth">
<path d="M0,0 L0,6 L9,3 z" fill="#4b5563" />
</marker>
</defs>
</svg>
</div>
<h3>Data Flow</h3>
<ol>
<li><strong>Invoice Upload:</strong> Issuer uploads invoice document through the web interface</li>
<li><strong>Verification:</strong> Platform validates invoice authenticity and extracts metadata</li>
<li><strong>NFT Minting:</strong> Smart contract mints unique NFT representing the invoice</li>
<li><strong>Marketplace Listing:</strong> NFT appears in the available invoices marketplace</li>
<li><strong>Investor Funding:</strong> Investor reviews and funds the invoice NFT</li>
<li><strong>Fund Transfer:</strong> Smart contract transfers funds from investor to issuer</li>
<li><strong>Repayment:</strong> Issuer repays investor when original debtor pays</li>
<li><strong>NFT Burning:</strong> Upon successful repayment, NFT is burned to complete the cycle</li>
</ol>
</section>
<!-- Getting Started -->
<section id="getting-started">
<h2>Getting Started</h2>
<p>
Follow these simple steps to begin using Invoice Finance, whether you're looking to fund your invoices or invest in invoice financing opportunities.
</p>
<h3 id="wallet-setup">Wallet Setup</h3>
<p>
To use Invoice Finance, you'll need a Cardano-compatible wallet. We support the following wallets:
</p>
<div class="table-container">
<table>
<thead>
<tr>
<th>Wallet</th>
<th>Type</th>
<th>Download Link</th>
<th>Features</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>Nami</strong></td>
<td>Browser Extension</td>
<td>namiwallet.io</td>
<td>Easy to use, NFT support</td>
</tr>
<tr>
<td><strong>Eternl</strong></td>
<td>Browser Extension / Mobile</td>
<td>eternl.io</td>
<td>Advanced features, Multi-account</td>
</tr>
<tr>
<td><strong>Flint</strong></td>
<td>Browser Extension</td>
<td>flint-wallet.com</td>
<td>User-friendly, Secure</td>
</tr>
<tr>
<td><strong>Yoroi</strong></td>
<td>Browser Extension / Mobile</td>
<td>yoroi-wallet.com</td>
<td>EMURGO official wallet</td>
</tr>
</tbody>
</table>
</div>
<h4>Installation Steps:</h4>
<ol>
<li>Visit the official website of your chosen wallet</li>
<li>Download and install the browser extension or mobile app</li>
<li>Create a new wallet (save your recovery phrase securely!)</li>
<li>Fund your wallet with ADA (Cardano's native cryptocurrency)</li>
<li>You're ready to connect to Invoice Finance!</li>
</ol>
<div class="alert alert-warning">
<h4>⚠️ Security Warning</h4>
<p>
Never share your recovery phrase with anyone. Invoice Finance will never ask for your recovery phrase. Store it securely offline. Anyone with access to your recovery phrase can access your funds.
</p>
</div>
<h3 id="connect-wallet">Connecting Your Wallet</h3>
<p>Once you have a Cardano wallet set up:</p>
<ol>
<li>Navigate to <strong>Invoice Finance</strong> platform</li>
<li>Click the <strong>"Connect Wallet"</strong> button in the top right corner</li>
<li>Select your wallet from the list of available options</li>
<li>Approve the connection request in your wallet</li>
<li>Your wallet address will appear, confirming successful connection</li>
</ol>
<div class="code-block">
Status: Wallet Connected ✓
Address: addr1q9x7j2...k3m9p8
Balance: 1,250 ADA
Network: Mainnet
</div>
</section>
<!-- User Guides -->
<section id="user-guides">
<h2>User Guides</h2>
<h3 id="issuer-guide">For Invoice Issuers</h3>
<p>
If you're a business looking to unlock working capital by financing your invoices, follow this comprehensive guide.
</p>
<h4>Step 1: Access Create Invoice Page</h4>
<ul>
<li>From the home dashboard, click on <strong>"Create Invoice"</strong> card</li>
<li>Or click the <strong>"Get Started"</strong> button in the hero section</li>
<li>Ensure your wallet is connected before proceeding</li>
</ul>
<h4>Step 2: Prepare Your Invoice</h4>
<p>Before uploading, ensure your invoice includes:</p>
<ul>
<li>Invoice number and date</li>
<li>Your business details (name, address, contact)</li>
<li>Debtor/customer details</li>
<li>Itemized list of goods/services</li>
<li>Total amount due</li>
<li>Payment terms (net 30, net 60, etc.)</li>
<li>Due date</li>
</ul>
<h4>Step 3: Upload Invoice Document</h4>
<div class="step-cards">
<div class="step-card">
<div class="step-number">1</div>
<h4>Click "Choose File"</h4>
<p>Select your invoice document from your computer. Supported formats: PDF, PNG, JPG.</p>
</div>
<div class="step-card">
<div class="step-number">2</div>
<h4>Enter Face Value</h4>
<p>Input the total invoice amount in ADA. This is the amount your customer owes.</p>
</div>
<div class="step-card">
<div class="step-number">3</div>
<h4>Set Repayment Amount</h4>
<p>Enter the amount you'll pay back to investors, including their return (typically 3-8% above face value).</p>
</div>
</div>
<h4>Step 4: Create Invoice NFT</h4>
<ul>
<li>Review all details carefully</li>
<li>Click <strong>"Create Invoice NFT"</strong> button</li>
<li>Confirm the transaction in your wallet</li>
<li>Wait for blockchain confirmation (typically 20-60 seconds)</li>
<li>Your invoice NFT is now minted and listed in the marketplace!</li>
</ul>
<div class="code-block">
✓ Invoice uploaded successfully
✓ NFT minting initiated...
✓ Transaction confirmed on Cardano blockchain
✓ Invoice NFT created: INV-2026-001
✓ Listed in marketplace - awaiting funding
</div>
<h4>Step 5: Receive Funding</h4>
<p>Once an investor funds your invoice:</p>
<ul>
<li>You'll receive a notification of the funding</li>
<li>Funds are transferred to your wallet within seconds</li>
<li>The invoice NFT ownership transfers to the investor</li>
<li>You can now use the funds for business operations</li>
</ul>
<h4>Step 6: Manage Repayment</h4>
<p>When your customer pays the original invoice:</p>
<ul>
<li>Navigate to <strong>"My Funded Invoices"</strong> section</li>
<li>Find the invoice that was paid by your customer</li>
<li>Click <strong>"Repay Investor"</strong> button</li>
<li>Confirm payment of the repayment amount in your wallet</li>
<li>Upon confirmation, the investor receives their return</li>
<li>The invoice NFT is burned, completing the cycle</li>
</ul>
<div class="alert alert-info">
<h4>💡 Pro Tip</h4>
<p>
To get the best rates, set competitive repayment amounts. Check similar invoices in the marketplace to gauge market rates. Typically, a 5-7% premium attracts investors quickly.
</p>
</div>
<h3 id="investor-guide">For Investors</h3>
<p>
If you're looking to invest in invoice financing and earn returns, this guide will walk you through the process.
</p>
<h4>Step 1: Browse Available Invoices</h4>
<ul>
<li>From the home dashboard, click <strong>"Available Invoices"</strong></li>
<li>View all invoice NFTs currently seeking funding</li>
<li>Each card displays key information about the invoice</li>
</ul>
<h4>Step 2: Evaluate Investment Opportunities</h4>
<p>When reviewing invoices, consider:</p>
<ul>
<li><strong>Face Value:</strong> The original invoice amount</li>
<li><strong>Repayment Amount:</strong> What you'll receive back</li>
<li><strong>Return Rate:</strong> Your profit percentage</li>
<li><strong>Time to Maturity:</strong> How long until expected repayment</li>
<li><strong>Issuer History:</strong> Track record of previous repayments</li>
</ul>
<div class="table-container">
<table>
<thead>
<tr>
<th>Invoice ID</th>
<th>Face Value</th>
<th>Your Investment</th>
<th>Repayment</th>
<th>Return</th>
<th>Due Date</th>
</tr>
</thead>
<tbody>
<tr>
<td>INV-2026-045</td>
<td>1,000 ADA</td>
<td>950 ADA</td>
<td>1,000 ADA</td>
<td>5.26%</td>
<td>30 days</td>
</tr>
<tr>
<td>INV-2026-046</td>
<td>5,000 ADA</td>
<td>4,700 ADA</td>
<td>5,000 ADA</td>
<td>6.38%</td>
<td>60 days</td>
</tr>
<tr>
<td>INV-2026-047</td>