Package org.consensusj.bitcoinj.dsl.js
package org.consensusj.bitcoinj.dsl.js
Prototype JavaScript scripting support via (Standalone) Nashorn and ScriptEngineFactory (JSR 223)
This implementation uses the Standalone version of Nashorn (now that it has been removed from the JDK as of JDK 15) and requires JDK 17 (the first LTS version since Nashorn was removed) or later.
-
ClassDescriptionDemo of using bitcoinj DSL for JavaScriptScriptRunner that places a JSON-RPC client and Bitcoin utility functions inside a script context so they can be called from JavaScript (currently Nashorn, but in the future this may be Graal Javascript)