Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
www
 
 
 
 
 
 
 
 

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)