v1.vue 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <script setup lang="ts">
  2. useHead({
  3. title: `API v1 — Hush Your Money`,
  4. meta: [
  5. { name: 'description', content: `Hush Your Money makes spending safu.` }
  6. ],
  7. })
  8. /* Initialize stores. */
  9. import { useSystemStore } from '@/stores/system'
  10. const System = useSystemStore()
  11. // onMounted(() => {
  12. // console.log('Mounted!')
  13. // // Now it's safe to perform setup operations.
  14. // })
  15. // onBeforeUnmount(() => {
  16. // console.log('Before Unmount!')
  17. // // Now is the time to perform all cleanup operations.
  18. // })
  19. </script>
  20. <template>
  21. <main class="max-w-5xl mx-auto py-5 flex flex-col gap-12">
  22. <section class="flex flex-col gap-4">
  23. <h1 class="text-5xl font-medium">
  24. HYM API v1
  25. </h1>
  26. <p class="text-gray-600 text-2xl italic font-light leading-9">
  27. <span class="block py-2 text-3xl text-fuchsia-600 font-medium">Are you a developer?</span>
  28. Easily integrate ALL of the <span class="text-fuchsia-600 font-medium">Free and Open Source (FOSS)</span> Hush Your Money (HYM) protocols natively into your Crypto wallet and/or application;
  29. then conveniently offer your community of users the leading set of <span class="text-fuchsia-600 font-medium">Financial Privacy Protections</span> the world has to offer.
  30. </p>
  31. </section>
  32. <section class="flex flex-col gap-4">
  33. <h2 class="text-sky-600 text-2xl font-bold tracking-widest uppercase">
  34. Client Requests
  35. </h2>
  36. <h3 class="text-2xl font-bold text-amber-500">
  37. /v1/fusion/&lt;fusion-id&gt;
  38. </h3>
  39. <h3 class="text-2xl font-bold text-amber-500">
  40. /v1/tier/&lt;tier-id&gt;
  41. </h3>
  42. </section>
  43. <section class="flex flex-col gap-4">
  44. <h2 class="text-sky-600 text-2xl font-bold tracking-widest uppercase">
  45. Client Actions
  46. </h2>
  47. <h3 class="text-2xl font-bold text-amber-500">
  48. addComponents <small class="text-base text-amber-400">( PublicKey, Component[] )</small>
  49. </h3>
  50. <h3 class="text-2xl font-bold text-amber-500">
  51. generateAddress
  52. </h3>
  53. <h3 class="text-2xl font-bold text-amber-500">
  54. generateProof
  55. </h3>
  56. <h3 class="text-2xl font-bold text-amber-500">
  57. submitComponents <small class="text-base text-amber-400">( PublicKey, Component[] )</small>
  58. </h3>
  59. <h3 class="text-2xl font-bold text-amber-500">
  60. verifyProof
  61. </h3>
  62. </section>
  63. <section class="flex flex-col gap-4">
  64. <h2 class="text-sky-600 text-2xl font-bold tracking-widest uppercase">
  65. Batch (System) Requests
  66. </h2>
  67. <h3 class="text-2xl font-bold text-amber-500">
  68. /_clubs
  69. </h3>
  70. <h3 class="text-2xl font-bold text-amber-500">
  71. /_fusions
  72. </h3>
  73. <h3 class="text-2xl font-bold text-amber-500">
  74. /_profiles
  75. </h3>
  76. <h3 class="text-2xl font-bold text-amber-500">
  77. /_stats
  78. </h3>
  79. <h3 class="text-2xl font-bold text-amber-500">
  80. /_tiers
  81. </h3>
  82. <h3 class="text-2xl font-bold text-amber-500">
  83. /_vaults
  84. </h3>
  85. </section>
  86. <section class="flex flex-col gap-4">
  87. <h2 class="text-sky-600 text-2xl font-bold tracking-widest uppercase">
  88. Data Types
  89. </h2>
  90. <h3 class="text-2xl font-bold text-amber-500">
  91. Club
  92. </h3>
  93. <h3 class="text-2xl font-bold text-amber-500">
  94. Component
  95. </h3>
  96. <h3 class="text-2xl font-bold text-amber-500">
  97. Fusion
  98. </h3>
  99. <h3 class="text-2xl font-bold text-amber-500">
  100. PrivateTransaction
  101. </h3>
  102. <h3 class="text-2xl font-bold text-amber-500">
  103. Profile
  104. </h3>
  105. <h3 class="text-2xl font-bold text-amber-500">
  106. PublicKey
  107. </h3>
  108. <h3 class="text-2xl font-bold text-amber-500">
  109. Tier
  110. </h3>
  111. </section>
  112. </main>
  113. </template>