Transaction bcba8ca15a2b3d83fe953f2d99b500882d590d1e8f7ed14eff552e92faccde2c

1 Input
  • f96a830d5437590dfbcefb8c377531a506a47c87fd3e66f9c570b95a42d1ab13:0
    OP_DATA_32(32) 907247bcfe1030663494b2ff355fd6f56e89f265bef26ef103b7618493070393
    OP_CHECKSIG(172)
    OP_0(0)
    OP_IF(99)
    OP_DATA_3(3) ord
    OP_DATA_1(1) 
    OP_DATA_23(23) text/html;charset=utf-8
    OP_0(0)
    OP_PUSHDATA2(77) <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Bitcoin Flux by SMLDMS</title> <script id="snippet-random-code" type="text/javascript"> // DO NOT EDIT THIS SECTION let seed = window.location.href.split('/').find(t => t.includes('i0')); if (seed == null) { const alphabet = "0123456789abcdefghijklmnopqrstuvwsyz"; seed = new URLSearchParams(window.location.search).get("seed") || Array(64).fill(0).map(_ => alphabet[(Math
    OP_PUSHDATA2(77) .random() * alphabet.length) | 0]).join('') + "i0"; } else { let pattern = "seed="; for (let i = 0; i < seed.length - pattern.length; ++i) { if (seed.substring(i, i + pattern.length) == pattern) { seed = seed.substring(i + pattern.length); break; } } } function cyrb128($) { let _ = 1779033703, u = 3144134277, i = 1013904242, l = 2773480762; for (le
    OP_PUSHDATA2(77) t n = 0, r; n < $.length; n++) _ = u ^ Math.imul(_ ^ (r = $.charCodeAt(n)), 597399067), u = i ^ Math.imul(u ^ r, 2869860233), i = l ^ Math.imul(i ^ r, 951274213), l = _ ^ Math.imul(l ^ r, 2716044179); return _ = Math.imul(i ^ _ >>> 18, 597399067), u = Math.imul(l ^ u >>> 22, 2869860233), i = Math.imul(_ ^ i >>> 17, 951274213), l = Math.imul(u ^ l >>> 19, 2716044179), [(_ ^ u ^ i ^ l) >>> 0, (u ^ _) >>> 0, (i ^ _) >>> 0, (l ^ _) >>> 0] } function sfc32($, _, u, i) { retu
    OP_PUSHDATA2(77) rn function () { u >>>= 0, i >>>= 0; var l = ($ >>>= 0) + (_ >>>= 0) | 0; return $ = _ ^ _ >>> 9, _ = u + (u << 3) | 0, u = (u = u << 21 | u >>> 11) + (l = l + (i = i + 1 | 0) | 0) | 0, (l >>> 0) / 4294967296 } } let mathRand = sfc32(...cyrb128(seed)); </script> <style> html, body { position: fixed; top: 0; right: 0; bottom: 0; left: 0;
    OP_PUSHDATA2(77) color: rgb(255, 255, 255); background-color: rgb(255, 255, 255); display: flex; justify-content: center; align-items: center; margin: 0; padding: 0; font-size: 0.8em; } canvas { object-fit: contain; background-color: rgb(255, 255, 255); max-height: 100%; max-width: 100%; } #progress { display: inline-block;
    OP_PUSHDATA2(77) opacity: 0.75; padding: 1.5vh; background-color: black; color: rgb(255, 255, 255); position: absolute; font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; text-align: CENTER; } #progress h1 { font-size: 10vh; margin-top: -0.618em; } #progress h2 { font-size: 5vh; } </style> </head> <body> <canvas id="cnv">
    OP_PUSHDATA2(77) </canvas> <div id="progress"></div> <script defer src="https://static.cloudflareinsights.com/beacon.min.js/vb26e4fa9e5134444860be286fd8771851679335129114" integrity="sha512-M3hN/6cva/SjwrOtyXeUa5IuCT0sedyfT+jK/OV+s+D0RnzrTfwjwJHhd+wYfMm9HJSrZ1IKksOdddLuN6KOzw==" data-cf-beacon='{"rayId":"7afa5ee92d823fd3","version":"2023.3.0","b":1,"token":"6c07c178c94442f695e7a0a2aaee641a","si":100}' crossorigin="anonymous"></script> </body> <script type="text/javascript"> let palette = { n: mathRand(),
    OP_PUSHDATA2(77) clr: [], name: "" } palette.clr = chooseRandom([ ["#D9C49C", "#BFB39B", "#D9CCB4", "#594A3C", "#260906"], ["#171F26", "#3B4B59", "#96B9D9", "#728EA6", "#D5E7F2"], ["#283959", "#364A73", "#6D8BA6", "#99B4BF", "#F0F2EB"], ["#5C5751", "#9C9389", "#DBCFC1", "#C2B7AB", "#E8DBCD"], ["#23282B", "#2D353B", "#778899", "#DFE5F2", "#EBF0F5"], ["#F2B807", "#F2C84B", "#F2D57E", "#F2A007", "#BF5B04"], ["#D9D9D9", "#BFBFBF", "#A6A6A6", "#7373
    OP_PUSHDATA2(77) 73", "#404040"], ["#D9B0B3", "#A65858", "#F28585", "#D98282", "#F2CECE"], ["#BFBFBF", "#8C8C8C", "#404040", "#262626", "#0D0D0D"], ["#A6A6A6", "#737373", "#404040", "#262626", "#0D0D0D"], ["#68736A", "#818C83", "#3A403A", "#D2D9D2", "#0D0D0D"], ["#F2F2F2", "#BFBFBF", "#8C8C8C", "#262626", "#0D0D0D"], ["#585459", "#3B3340", "#D9CBA0", "#A6977B", "#F2E2CE"], ["#D9A404", "#D98E04", "#8C4E03", "#592202", "#260B01"], ["#232226", "#D9C7B8", "#F2E3D5"
    OP_PUSHDATA2(77) , "#A69992", "#595959"], ["#A60311", "#73020C", "#400101", "#260101", "#0D0D0D"], ["#ffffff", "#8C8C8C", "#000000", "#262626", "#0D0D0D"], ] ) let mode = { n: mathRand(), name: "", val: 0, } if (mode.n < 0.333333) { mode.val = 1; mode.name = 'VERTICAL' } else if (mode.n < 0.666666) { mode.val = 0.5; mode.name = 'RANDOM' } else { mode.val = 0; mode.name = 'HORIZONTAL'
    OP_PUSHDATA2(77) } ////////////API const url = 'https://api.blockchain.info/stats'; let btcPrice, totalBTC, tradeVol, blockS, mapBlock, mapVol, mapPrice; const maxBtcPrice = 1000000; const maxTradeVol = 50000; const ctx = document.getElementById("cnv").getContext("2d"); ////////////////////// let myTitle = "Bitcoin Flux" console.log(myTitle + " | smldms 2023.03") // let complexity = Math.floor(mathRand() * 4 + 1) let complexity = chooseRandom([1, 1, 1, 1, 1, 2, 3, 4, 5,
    OP_PUSHDATA2(77) 6, 7, 8, 9, 10]) window.$generativeTraits = { "Palette": palette.clr, "Mode": mode.name, "Complexity": complexity } console.log(window.$generativeTraits) let s = 1080 * 2; cnv.width = s; cnv.height = s * 1.4142 let padding; let longSide, shortSide; fetch(url) .then(response => response.json()) .then(data => { console.log(data) btcPrice = Math.floor(data.market_price_usd); totalBTC = Math
    OP_PUSHDATA2(77) .floor(data.totalbc / 100000000); tradeVol = Math.floor(data.trade_volume_btc); blockS = data.blocks_size; mapBlock = mapRange(blockS, 0, 1000000000, 1, 500) mapTotalMinted = mapRange(totalBTC, 1900000, 21000000, 1, 10) const constrainedVolume = Math.min(tradeVol, maxTradeVol); mapVol = mapRange(tradeVol, 0, maxTradeVol, 6.18, 50) const constrainedBtcPrice = Math.min(btcPrice, maxBtcPrice); mapPrice = mapRange(co
    OP_PUSHDATA2(77) nstrainedBtcPrice, 10000, maxBtcPrice, 2, 8) let mint = 21000000 - totalBTC; longSide = cnv.width shortSide = cnv.height padding = shortSide / mapVol; ctx.save() ctx.fillStyle = chooseRandom(palette.clr); ctx.fillRect(0, 0, cnv.width, cnv.height) ctx.fill() ctx.restore() createCell(padding, padding, longSide - padding * 2, shortSide - padding * 2, mapPrice) addGrain(cnv, 23)
    OP_PUSHDATA2(77) const btcNumber = btcPrice.toLocaleString('us-US', { style: 'currency', currency: 'USD', minimumFractionDigits: 0 }); const totalNumber = totalBTC.toLocaleString('us-US', { maximumFractionDigits: 0 }); const restMint = mint.toLocaleString('us-US', { maximumFractionDigits: 0 }); const tradeNumber = tradeVol.toLocaleString('us-US', { maximumFractionDigits: 0 }); progress('<h2>TOTAL OF BITCOINS</h2><h1>' + totalNumber + '</h1><h2><h2>REST TO MINT</h
    OP_PUSHDATA2(77) 2><h1>' + restMint + '</h1><h2>PRICE</h2><h1>' + btcNumber + '</h1><h2>TRADE VOLUME IN BTC</h2><h1>' + tradeNumber + '</h1>'); progressClear() }) .catch(error => { console.error(error); progress('<h1>LOADING IS LONGER THAN USUAL</h1> <h2> PLEASE RESTART</h2>'); progressShow() }); function createCell(posX, posY, w, h, depth) { if (depth > 0) { if (mathRand() > mode.val) { createCell(posX, po
    OP_PUSHDATA2(77) sY, w, h / 2, depth - 1); createCell(posX, posY + h / 2, w, h / 2, depth - 1); } else { createCell(posX, posY, w / 2, h, depth - 1); createCell(posX + w / 2, posY, w / 2, h, depth - 1); } } else { for (let i = 1; i <= complexity; i += 0.1) { linearGradientFill(posX + w / randBetween(1, 5), posY, posX + w / randBetween(1, 5), posY + h); const rectX = posX + (w / 2) - (w / i / 2);
    OP_PUSHDATA2(77) const rectY = posY + (h / 2) - (h / i / 2); ctx.fillRect(rectX, rectY, w / i, h / i); ctx.fill(); ctx.textAlign = "center"; } } } function linearGradientFill(x1, y1, x2, y2) { const gradient = ctx.createLinearGradient(x1, y1, x2, y2); let maxStep = mathRand() * mapBlock for (let step = 0; step <= maxStep; step++) { let mapper = mapRange(step, 0, maxStep, 0, 1) gradien
    OP_PUSHDATA2(77) t.addColorStop(mathRand() * mapper, chooseRandom(palette.clr)); ctx.fillStyle = gradient; } } function mapRange(value, inputMin, inputMax, outputMin, outputMax) { return ((value - inputMin) * (outputMax - outputMin)) / (inputMax - inputMin) + outputMin; } function randBetween(a, b) { if (!b) { return mathRand() * a } return mathRand() * (b - a) + a } function chooseRandom(arr) { const randomIndex = Ma
    OP_PUSHDATA2(77) th.floor(mathRand() * arr.length); return arr[randomIndex]; } function addGrain(canvas, graininess) { const ctx = canvas.getContext('2d'); const width = canvas.width; const height = canvas.height; const pixels = ctx.getImageData(0, 0, width, height); for (let i = 0; i < pixels.data.length; i += 4) { const r = pixels.data[i]; const g = pixels.data[i + 1]; const b = pixels.data[i + 2]; const alpha =
    OP_PUSHDATA2(77) pixels.data[i + 3]; const random = mathRand(); const offset = (random - 0.5) * graininess; pixels.data[i] = Math.max(0, Math.min(255, r + offset)); pixels.data[i + 1] = Math.max(0, Math.min(255, g + offset)); pixels.data[i + 2] = Math.max(0, Math.min(255, b + offset)); pixels.data[i + 3] = alpha; } ctx.putImageData(pixels, 0, 0); } ///////////////SAVE function saveCanvasAsPNG(canvas) { docu
    OP_PUSHDATA2(77) ment.addEventListener('keydown', function (event) { if (event.key === 's' || event.key === 'S' || event.key === 'd' || event.key === 'D') { const ctx = canvas.getContext('2d'); const width = canvas.width; const height = canvas.height; const pixelRatio = (event.key === 'd' || event.key === 'D') ? window.devicePixelRatio * 8 : window.devicePixelRatio; const canvasCopy = document.createElement('canvas');
    OP_PUSHDATA2(77) canvasCopy.width = width * pixelRatio; canvasCopy.height = height * pixelRatio; const ctxCopy = canvasCopy.getContext('2d'); ctxCopy.imageSmoothingEnabled = false; ctxCopy.drawImage(canvas, 0, 0, width, height, 0, 0, width * pixelRatio, height * pixelRatio); const url = canvasCopy.toDataURL('image/png'); const link = document.createElement('a'); link.download = 'canvas.png'; link.h
    OP_PUSHDATA2(77) ref = url; link.click(); } }); } saveCanvasAsPNG(cnv); let spacePressed = false; document.addEventListener('keydown', function (event) { if (event.code === 'Space' && !spacePressed) { progressShow() spacePressed = true; } }); document.addEventListener('keyup', function (event) { progressClear() if (event.code === 'Space') { spacePressed = false; } });
    OP_PUSHDATA2(77) /////////////PROGRESS async function progress(message) { document.body.style.cursor = 'crosshair'; document.getElementById("progress").innerHTML = message; progressColor = document.getElementById("progress"); // progressColor.style.backgroundColor = chooseRandom(palette.clr); await new Promise((fn => setTimeout(fn, 1))); } async function progressClear() { document.body.style.cursor = 'default'; document.getElementById("progress")
    OP_PUSHDATA2(77) .style.display = 'none'; await new Promise((fn => setTimeout(fn, 1))); } async function progressShow() { document.body.style.cursor = 'default'; document.getElementById("progress").style.display = 'block'; await new Promise((fn => setTimeout(fn, 1))); } </script> </html>
    OP_ENDIF(104)
1 Outputs
  • bcba8ca15a2b3d83fe953f2d99b500882d590d1e8f7ed14eff552e92faccde2c:0
  • value  10000
    address  bc1pcw4me600kwa8u5gvwxup3934ewsuqde0hgch87xum7w9ktt2uyys2q6kk4