Skip to content

Vue DevTools

Vue Kaspa integrates with Vue DevTools to give you live visibility into WASM status, RPC state, and blockchain events — without console.log.

DevTools integration is enabled automatically in development and disabled in production.

Inspector panel

The inspector adds a Kaspa node to the Vue DevTools component inspector. It displays three sub-nodes:

WASM

FieldDescription
statusCurrent WasmStatus: idle · loading · ready · error

Color coding: green = ready, amber = loading, red = error, gray = idle.

RPC

FieldDescription
connectionStatedisconnected · connecting · connected · reconnecting · error
urlConnected node URL
networkIdNetwork reported by node (e.g. 'mainnet')
serverVersionNode software version (e.g. '0.14.1')
isSyncedWhether the node is fully synced
virtualDaaScoreLive DAA score (updates on every block)

Network

FieldDescription
networkIdActive network ID from the RPC connection
daaScoreLive DAA score

Event timeline

The DevTools Timeline includes a Kaspa Events layer (color: green). All 11 RPC event types are posted here as they arrive:

EventLog level
block-addedinfo
virtual-daa-score-changedinfo
utxos-changedinfo
virtual-chain-changedinfo
sink-blue-score-changedinfo
new-block-templateinfo
connectinfo
pruning-point-utxo-set-overrideinfo
finality-conflictwarning
finality-conflict-resolvedinfo
disconnecterror

Each event shows a summary (block hash, DAA score, affected addresses, etc.) and the full JSON payload on click.

Enabling and disabling

ts
// Explicitly disable (useful in staging/production)
app.use(VueKaspa, {
  devtools: false,
})

The DevTools integration code is dynamically imported. When devtools: false, it is completely absent from the production bundle (tree-shaken).

Requirements

  • Vue DevTools browser extension or the standalone Electron app
  • Vue DevTools API v8 (bundled with @vue/devtools-api ^8.1.1, included as a dependency of Vue Kaspa)

Released under the MIT License.