Shomari преди 1 месец
родител
ревизия
3b2e83cc95

+ 1 - 1
web/handlers/buildSharedTx.ts

@@ -74,7 +74,7 @@ console.log('DO WE HAVE FUSION INPUTS??', this.fusionInputs)
     protocolId = 'HUSH'
 
     /* Set protocol message. */
-    msg = 'f35a93da-237c-5dba-a1e9-96d109bc10e0'
+    msg = '4fa84224-be56-49ba-830a-fa3b6774eb01'
 
     script = [
         utf8ToBin(protocolId),

+ 2 - 1
web/handlers/initFusions.ts

@@ -10,7 +10,7 @@ let fusionsDb
 const init = async (_fusionsDb) => {
     fusionsDb = _fusionsDb
 
-    fusionsDb['4e9654f9-3de9-4f9a-8169-3834f40847f5'] = {
+    fusionsDb['4fa84224-be56-49ba-830a-fa3b6774eb01'] = {
         tierid: 888000,
         sessionid: null,
         progress: 0.1,
@@ -60,6 +60,7 @@ const init = async (_fusionsDb) => {
         updatedAt: 1723245818,
         completedAt: 1723245818,
     }
+    console.log('FUSIONS DB', fusionsDb)
 }
 
 

+ 1 - 1
web/handlers/signSharedTx.ts

@@ -75,7 +75,7 @@ console.log('DO WE HAVE FUSION INPUTS??', this.fusionInputs)
     protocolId = 'HUSH'
 
     /* Set protocol message. */
-    msg = 'f35a93da-237c-5dba-a1e9-96d109bc10e0'
+    msg = '4fa84224-be56-49ba-830a-fa3b6774eb01'
 
     script = [
         utf8ToBin(protocolId),

+ 1 - 1
web/pages/admin/liquidity.vue

@@ -115,7 +115,7 @@ onMounted(() => {
 
             <p class="text-gray-600 text-lg font-light leading-7">
                 Liquidity is spread across ALL <NuxtLink to="/help/tiers" class="text-blue-500 font-normal hover:underline">Tiers</NuxtLink> to maximize its utility to the greatest number of active <NuxtLink to="/help/guests" class="text-blue-500 font-normal hover:underline">Club Guests</NuxtLink>.
-                The Hush Protocol, powered by a community of independently operated Hush Your Money (HYM) Clubs, is engineered <em>(i.e. financially incentivized)</em> to offer sub 15-seconds <NuxtLink to="/help/dances" class="text-blue-500 font-normal hover:underline">Coin Dances</NuxtLink>, consistently!
+                The Hush Protocol, powered by a community of independently operated Hush Your Money (HYM) Clubs, is engineered <em>(i.e. financially incentivized)</em> to offer sub 15-seconds <NuxtLink to="/help/coinjoin" class="text-blue-500 font-normal hover:underline">CoinJoins</NuxtLink>, consistently!
             </p>
         </section>
 

+ 2 - 2
web/pages/help/dances.vue → web/pages/help/coinjoin.vue

@@ -24,11 +24,11 @@ const System = useSystemStore()
 <template>
     <main class="max-w-5xl mx-auto py-5 flex flex-col gap-4">
         <h1 class="text-5xl font-medium">
-            Coin Dances
+            CoinJoin
         </h1>
 
         <p>
-            Coin Dances are the NEW (CoinJoin, CashShuffle, CashFusion).
+            CoinJoins great!
         </p>
     </main>
 </template>

+ 2 - 2
web/server/routes/v1.post.ts

@@ -76,7 +76,7 @@ export default defineEventHandler(async (event) => {
     }
 
 console.log('DEBUG::INSERTING A NEW FUSION')
-const fusion = Db.fusions['4e9654f9-3de9-4f9a-8169-3834f40847f5']
+const fusion = Db.fusions['4fa84224-be56-49ba-830a-fa3b6774eb01']
 console.log('FUSION', fusion)
 
     /* Request session. */
@@ -196,7 +196,7 @@ console.log('FUSION', fusion)
     /* Set (new) updated at (timestamp). */
     fusion.updatedAt = moment().unix()
 
-    await Db.put('fusions', '4e9654f9-3de9-4f9a-8169-3834f40847f5', fusion)
+    await Db.put('fusions', '4fa84224-be56-49ba-830a-fa3b6774eb01', fusion)
 
     /* Build (response) package. */
     const pkg = {

+ 2 - 2
web/stores/wallet/completeFusion.ts

@@ -23,10 +23,10 @@ export default async function () {
     let transactionBuilder
 
     // FIXME Where do we get the session ID from??
-    sessionid = '4e9654f9-3de9-4f9a-8169-3834f40847f5'
+    sessionid = '4fa84224-be56-49ba-830a-fa3b6774eb01'
 
     /* Request session details. */
-    session = await $fetch(`http://localhost:39159/v1/fusion/${sessionid}`)
+    session = await $fetch(`/v1/fusion/${sessionid}`)
         .catch(err => console.error(err))
     console.log('SESSION', session)
 

+ 2 - 2
web/stores/wallet/signFusion.ts

@@ -25,10 +25,10 @@ export default async function () {
     let transaction
 
     // FIXME Where do we get the session ID from??
-    sessionid = '4e9654f9-3de9-4f9a-8169-3834f40847f5'
+    sessionid = '4fa84224-be56-49ba-830a-fa3b6774eb01'
 
     /* Request session details. */
-    session = await $fetch(`http://localhost:39159/v1/fusion/${sessionid}`)
+    session = await $fetch(`/v1/fusion/${sessionid}`)
         .catch(err => console.error(err))
     console.log('SESSION', session)