Transaction

305a68cb08019cd51b090754e0d0d09ed002e32b550a20e8094dea0017b7e883
Timestamp (utc)
2025-12-28 16:50:48
Fee Paid
0.00005997 BSV
(
0.00005997 BSV
-
0.00000000 BSV
)
Fee Rate
501.4 sat/KB
Version
1
Confirmations
7,690
Size Stats
11,959 B

1 Output

Total Output:
0.00000000 BSV
  • j"19HxigV4QyBv3tHpQVcUEQyq1pzZVdoAutMÈ-"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6998],{6998:function(e,t,s){s.r(t),s.d(t,{default:function(){return h}});var n=s(7437),i=s(2265),l=s(9376),a=s(9366),o=s(8880),r=s(2707),c=s(92),d=s(3993);let u=[{id:"all",label:"All Categories",description:"Show all videos"},{id:"technology",label:"Technology",description:"Tech news, tutorials, and reviews"},{id:"sport",label:"Sport",description:"Sports highlights, analysis, and events"},{id:"entertainment",label:"Entertainment",description:"Movies, TV, music, and pop culture"},{id:"news",label:"News",description:"Current events and journalism"},{id:"business",label:"Business",description:"Finance, entrepreneurship, and economics"},{id:"education",label:"Education",description:"Learning, tutorials, and how-tos"},{id:"gaming",label:"Gaming",description:"Video games, esports, and streaming"},{id:"music",label:"Music",description:"Music videos, performances, and covers"},{id:"science",label:"Science",description:"Scientific discoveries and explanations"},{id:"crypto",label:"Crypto & BSV",description:"Cryptocurrency and blockchain content"},{id:"lifestyle",label:"Lifestyle",description:"Health, travel, food, and fashion"},{id:"comedy",label:"Comedy",description:"Funny videos and sketches"},{id:"other",label:"Other",description:"Everything else"}];function h(){var e;let[t,s]=(0,i.useState)([]),[h,p]=(0,i.useState)(!0),[m,f]=(0,i.useState)("all"),[x,g]=(0,i.useState)(""),b=(0,l.useRouter)(),v=(0,i.useMemo)(()=>(0,o.eD)(b),[b]);(0,i.useEffect)(()=>{y()},[m]);let y=async()=>{try{p(!0);let e=await (0,a.NC)();e.jungleBus?g("junglebus"):e.backend?g("server"):e.videoCount>0?g("cache"):g("offline");let t=await (0,a.w9)(20,0);"all"!==m?s(t.filter(e=>e.category===m)):s(t)}catch(e){console.error("Failed to fetch videos:",e)}finally{p(!1)}},w=e=>{v.push("/video/".concat(e))};return(0,n.jsxs)("div",{className:"min-h-screen bg-gradient-to-br from-slate-900 via-purple-900 to-slate-900",children:[(0,n.jsx)(c.Z,{}),(0,n.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-20",children:[(0,n.jsxs)("div",{className:"text-center mb-12",children:[(0,n.jsx)("h2",{className:"text-5xl font-bold text-white mb-6",children:"Browse Decentralized Videos"}),(0,n.jsx)("p",{className:"text-xl text-purple-100 max-w-3xl mx-auto",children:"Discover content stored permanently on Bitcoin SV blockchain and IPFS. Every video is uncensorable and owned by its creator."}),x&&(0,n.jsxs)("div",{className:"mt-4 inline-flex items-center gap-2 px-4 py-2 bg-white/10 rounded-full text-sm",children:[(0,n.jsx)("span",{className:"w-2 h-2 rounded-full ".concat("junglebus"===x?"bg-emerald-400":"server"===x?"bg-green-400":"cache"===x?"bg-yellow-400":"bg-gray-400")}),(0,n.jsxs)("span",{className:"text-purple-200",children:["junglebus"===x&&"Real-time blockchain (JungleBus) - No server needed!","server"===x&&"Connected to server","cache"===x&&"Using cached data","offline"===x&&"Offline - connect to load videos"]})]})]}),(0,n.jsxs)("div",{className:"mb-10",children:[(0,n.jsx)("div",{className:"flex flex-wrap gap-2 justify-center",children:u.map(e=>(0,n.jsx)("button",{onClick:()=>f(e.id),className:"px-4 py-2 rounded-full text-sm font-medium transition-all ".concat(m===e.id?"bg-gradient-to-r from-purple-500 to-blue-600 text-white shadow-lg":"bg-white/10 text-purple-200 hover:bg-white/20 border border-white/20"),children:e.label},e.id))}),"all"!==m&&(0,n.jsxs)("p",{className:"text-center mt-4 text-purple-300 text-sm",children:["Showing: ",null===(e=u.find(e=>e.id===m))||void 0===e?void 0:e.description]})]}),h?(0,n.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:[1,2,3,4,5,6,7,8].map(e=>(0,n.jsxs)("div",{className:"bg-white/10 backdrop-blur-md rounded-2xl p-6 border border-white/20 animate-pulse",children:[(0,n.jsx)("div",{className:"w-full h-48 bg-white/20 rounded-xl mb-4"}),(0,n.jsx)("div",{className:"h-4 bg-white/20 rounded mb-2"}),(0,n.jsx)("div",{className:"h-4 bg-white/20 rounded w-2/3"})]},e))}):t.length>0?(0,n.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:t.map(e=>{var t,s,i;return(0,n.jsxs)("div",{onClick:()=>w(e.txId),className:"bg-white/10 backdrop-blur-md rounded-2xl p-6 border border-white/20 hover:bg-white/15 transition-all duration-300 cursor-pointer group",children:[(0,n.jsx)("div",{className:"w-full h-48 bg-gradient-to-br from-purple-500/20 to-blue-500/20 rounded-xl mb-4 flex items-center justify-center group-hover:scale-105 transition-transform relative overflow-hidden",children:(0,n.jsx)(r.Z,{ipfsHash:e.primaryThumbnail||e.thumbnailIpfs||e.thumbnail,alt:e.title,className:"w-full h-full object-cover"})}),(0,n.jsx)("h3",{className:"font-semibold text-white mb-2 group-hover:text-purple-300 transition-colors",children:e.title}),(0,n.jsxs)("p",{className:"text-purple-200 text-sm mb-3",children:[null===(t=e.description)||void 0===t?void 0:t.substring(0,80),"..."]}),(0,n.jsx)("div",{className:"flex items-center justify-between mb-2",children:e.category&&(0,n.jsx)("span",{className:"px-2 py-1 bg-purple-500/30 text-purple-200 text-xs rounded-full",children:(null===(s=u.find(t=>t.id===e.category))||void 0===s?void 0:s.label)||e.category})}),(0,n.jsxs)("div",{className:"flex items-center gap-2 text-xs text-purple-400",children:[(0,n.jsxs)("span",{children:["By ",null===(i=e.creator)||void 0===i?void 0:i.substring(0,8),"..."]}),(0,n.jsx)("span",{children:"•"}),(0,n.jsx)("span",{children:new Date(e.createdAt).toLocaleDateString()})]})]},e.txId)})}):(0,n.jsxs)("div",{className:"text-center py-20",children:[(0,n.jsx)("div",{className:"w-20 h-20 bg-gradient-to-br from-purple-500/20 to-blue-500/20 rounded-2xl flex items-center justify-center mx-auto mb-6",children:(0,n.jsxs)("svg",{className:"w-10 h-10 text-purple-300",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[(0,n.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,n.jsx)("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),(0,n.jsx)("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"})]})}),(0,n.jsx)("h3",{className:"text-2xl font-semibold text-white mb-3",children:"No Videos Found"}),(0,n.jsx)("p",{className:"text-purple-300 mb-8 max-w-md mx-auto",children:"No videos have been uploaded to the platform yet. Be the first to share your content!"}),(0,n.jsxs)(d.Z,{href:"/upload",className:"inline-flex items-center gap-2 px-6 py-3 bg-gradient-to-r from-purple-500 to-blue-600 text-white font-semibold rounded-xl hover:shadow-xl transition-all",children:[(0,n.jsxs)("svg",{className:"w-5 h-5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[(0,n.jsx)("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),(0,n.jsx)("polyline",{points:"17 8 12 3 7 8"}),(0,n.jsx)("line",{x1:"12",y1:"3",x2:"12",y2:"15"})]}),"Upload First Video"]})]})]})]})}},2707:function(e,t,s){s.d(t,{Z:function(){return a}});var n=s(7437),i=s(2265);let l=["".concat("http://localhost:7101","/api/videos/thumbnail"),"https://gateway.lighthouse.storage/ipfs","https://gateway.pinata.cloud/ipfs","https://ipfs.filebase.io/ipfs","https://ipfs.io/ipfs","https://cloudflare-ipfs.com/ipfs","https://dweb.link/ipfs"];function a(e){let{ipfsHash:t,alt:s,className:a="w-full h-full object-cover",fallbackClassName:r="w-12 h-12 text-purple-300"}=e,[c,d]=(0,i.useState)(0),[u,h]=(0,i.useState)(!1),[p,m]=(0,i.useState)(!1);if((0,i.useEffect)(()=>{d(0),h(!1),m(!1)},[t]),!t)return(0,n.jsx)("div",{className:"flex items-center justify-center w-full h-full",children:(0,n.jsx)(o,{className:r})});let f=t.startsWith("http://")||t.startsWith("https://"),x=t.replace(/^ipfs:\/\//i,"").replace(/^\/ipfs\//i,"").trim();if(u)return(0,n.jsx)("div",{className:"flex items-center justify-center w-full h-full",children:(0,n.jsx)(o,{className:r})});let g=f?t:"".concat(l[c],"/").concat(x);return(0,n.jsxs)(n.Fragment,{children:[!p&&(0,n.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-gradient-to-br from-purple-500/20 to-blue-500/20",children:(0,n.jsx)("div",{className:"animate-pulse",children:(0,n.jsx)(o,{className:"".concat(r," opacity-50")})})}),(0,n.jsx)("img",{src:g,alt:s,className:"".concat(a," ").concat(p?"":"opacity-0"),onError:()=>{c<l.length-1?(console.log("Thumbnail gateway ".concat(c," failed, trying next...")),d(c+1)):(console.log("All thumbnail gateways failed for: ".concat(t)),h(!0))},onLoad:()=>{m(!0)},loading:"lazy"})]})}function o(e){let{className:t}=e;return(0,n.jsx)("svg",{className:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:(0,n.jsx)("polygon",{points:"5 3 19 12 5 21 5 3"})})}},9366:function(e,t,s){s.d(t,{NC:function(){return m},_1:function(){return u},om:function(){return r},w9:function(){return c}});var n=s(5597),i=s(8880);let l=!1;function a(){l||(l=!0,setTimeout(()=>{try{(0,n.XS)()}catch(e){console.warn("JungleBus init failed:",e)}},100))}let o="bsv_uploaded_videos";async function r(e){a();try{let t=(0,n.lh)().getVideo(e);if(t)return console.log("\uD83D\uDCE1 Video from JungleBus: ".concat(e.substring(0,16),"...")),t}catch(e){console.warn("JungleBus not available for getVideo")}let t=function(e){let t=h().find(t=>t.txId===e);return t?p(t):null}(e);return t?(console.log("\uD83D\uDCE6 Video from local cache: ".concat(e.substring(0,16),"...")),t):(console.log("⏳ Video not found: ".concat(e.substring(0,16),"... (may be pending)")),null)}async function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;a();let s=[];try{let i=(0,n.lh)(),l=i.getStatus();console.log("\uD83D\uDCE1 JungleBus status: ".concat(l.connected?"connected":"disconnected",", ").concat(l.videoCount," videos cached")),s=i.getVideos(e+10,t)}catch(e){console.warn("JungleBus not available for getRecentVideos - using local cache only")}let i=h();if(i.length>0){for(let e of i)s.some(t=>t.txId===e.txId)||s.unshift(p(e));s.sort((e,t)=>t.timestamp-e.timestamp)}return s.slice(0,e)}async function d(){if((0,i.UA)())return console.log("ℹ️ Skipping backend check on ReactOnChain"),!1;try{return(await fetch("".concat(function(){{let e=window.location.hostname;return"localhost"===e||"127.0.0.1"===e?"http://localhost:7101":"https://b4gosg8s4gwoswwoc440os4c.securephone.co.uk"}}(),"/health"),{method:"GET",signal:AbortSignal.timeout(3e3)})).ok}catch(e){return!1}}function u(e){try{let t=h();t.unshift({...e,timestamp:Date.now(),confirmed:!1});let s=t.slice(0,50);localStorage.setItem(o,JSON.stringify(s));try{(0,n.lh)().addVideoToCache(p(e))}catch(e){}console.log("\uD83D\uDCDD Tracked upload: ".concat(e.title))}catch(e){console.warn("Failed to track upload:",e)}}function h(){try{let e=localStorage.getItem(o);return e?JSON.parse(e):[]}catch(e){return[]}}function p(e){var t;let s=[];e.tags&&(Array.isArray(e.tags)?s=e.tags:"string"==typeof e.tags&&(s=e.tags.split(",").map(e=>e.trim()).filter(Boolean)));let n=e.primaryThumbnail||e.thumbnail_ipfs||e.thumbnailIpfs||e.thumbnail;return{txId:e.txId||e.tx_id||e.txid||"",title:e.title||"Untitled",description:e.description||"",ipfsHash:e.ipfsHash||e.ipfs_hash||e.ipfsCid||"",creator:e.creator||e.creator_address||e.creatorAddress||"",tags:s,category:e.category||"other",timestamp:e.timestamp||Date.now(),createdAt:e.createdAt||e.created_at||new Date().toISOString(),thumbnailIpfs:n,primaryThumbnail:n,confirmed:null!==(t=e.confirmed)&&void 0!==t&&t}}async function m(){if((0,i.UA)())return{jungleBus:!1,backend:!1,videoCount:0,isOnChain:!0};a();let e=!1,t=0;try{let s=(0,n.lh)().getStatus();e=s.connected,t=s.videoCount}catch(e){console.warn("JungleBus not available for status check")}return{jungleBus:e,backend:await d(),videoCount:t,isOnChain:!1}}}}]);application/javascriptbinary
    https://whatsonchain.com/tx/305a68cb08019cd51b090754e0d0d09ed002e32b550a20e8094dea0017b7e883