WORK IN PROGRESS
WASM + rust-miniscript + rete.js = miniscript node editor
Try online: miniscript.fun
You will need rust and wasm-pack, then:
cd rust
cargo build
wasm-pack build --target web
cd ..
python3 -m http.server
You'll see the website on http://localhost:8000
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)