edouardparis / miniscript-builder

Home Page:https://miniscript.fun

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Miniscript playground

WORK IN PROGRESS

WASM + rust-miniscript + rete.js = miniscript node editor

Try online: miniscript.fun

How to build and run

You will need rust and wasm-pack, then:

cd rust
wasm-pack build --target web
cd ..
python3 -m http.server

You'll see the website on http://localhost:8000

Roadmap

Planned:

  • all policy op-codes
  • address derivation
  • automatic url encoding of full editor state (#/full/b64-encoded-json)
  • node inspector with node output
  • bip39 and DescriptorKey nodes (mnemonic to root key, then derive with path and select allowed derivation)
  • network selector (bitcoin / testnet / regtest / signet)
  • export/import file and loading nodes state from external json (#/url/path/to/config.json)
  • add labels for inputs like threshold, mnemonic, password, derivation path etc.
  • allow aliases for keys (any string instead of a valid (x)pub)
  • add control panel with all nodes
  • add info-description for nodes
  • use sortedmulti instead of multi
  • build nodes from url with policy (#/policy/andor(blah(blah)))
  • build nodes from url with descriptor (#/descriptor/wsh(andor(blah(blah)))) - uplift?
  • simple miniscript wallet using block explorer
    • fetch balances
    • create psbt
    • finalize psbt
    • Specter-DIY QR support
  • allow xprv and WIF keys?
  • taproot and tapscript
  • wpkh, sh(wsh), sh(wpkh)

About

https://miniscript.fun

License:MIT License


Languages

Language:JavaScript 65.0%Language:CSS 14.0%Language:HTML 11.8%Language:Rust 9.2%