Skip to content

Fixed unblinded output formatting. - #647

Merged
Randy808 merged 1 commit into
Blockstream:masterfrom
Randy808:fix-unblinded-output-formatting
Aug 4, 2026
Merged

Fixed unblinded output formatting.#647
Randy808 merged 1 commit into
Blockstream:masterfrom
Randy808:fix-unblinded-output-formatting

Conversation

@Randy808

@Randy808 Randy808 commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

To run locally, npm install and use the following snippets:

# Liquid
export API_URL=https://blockstream.info/liquid/api
export PORT=5000
source flavors/blockstream/config.env
source flavors/liquid-mainnet/config.env
npm run dev-server

To test:

  • Download wallycore.js and wallycore.wasm located at https://blockstream.info/liquid/libwally/wallycore.js and https://blockstream.info/liquid/libwally/wallycore.wasm respectively
  • Make a folder called libwally in client/src/lib/ and place the 2 downloaded files in there
  • Add the following lines to dev-server.js after the line router.get('/app.js', browserify(rpath('client/src/run-browser.js'))):
router.get('/libwally/wallycore.js', (req, res) => res.sendFile(rpath('client/src/lib/libwally/wallycore.js')))
router.get('/libwally/wallycore.wasm', (req, res) => res.sendFile(rpath('client/src/lib/libwally/wallycore.wasm')))
  • Now download assets.minimal.json from https://blockstream.info/liquid/_data/assets.minimal.json and put it in www/_data (making the directory if it's not there)
  • Visit http://localhost:5000/liquid/tx/e6d8feb9a539628fe9386570fc6c546315a1ce37d64ce104fc742545c45102ea#blinded=100,f266a3f15e78b71481adfedff9aefe47c69501a181ffc68527bb5fb26da6a4b2,3d48822703130651d51583438f5d4692b337b9483a1b4d81d158672a4f288838,7dadf08a4b5750f4795a48f7ede24732ea6efca3dc46c51806d332fdd6464cc3 and verify the output is unblinded with the formatting presented in the screenshot below

Screenshot 2026-08-03 at 3 08 28 PM

@Randy808 Randy808 self-assigned this Jul 31, 2026
@Randy808
Randy808 force-pushed the fix-unblinded-output-formatting branch from 1c12658 to f802d65 Compare August 3, 2026 19:13
@Randy808
Randy808 marked this pull request as ready for review August 3, 2026 19:14
@Randy808
Randy808 merged commit f993388 into Blockstream:master Aug 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants