Christewart / simple-bitcoin-s-js

Template project for scalajs DOM manipulation from bitcoin-s

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using bitcoin-s from scala-js

This project is to provide a simple html page that displays bitcoin-s data structures.

The Scala file to modify to test things out is BitcoinSExample

sbt fastOptJS::webpack

This will generate a javascript file located at target/scala-2.13/scalajs-bundler/main/scala-js-tutorial-fastopt-bundle.js

This javascript file is referenced inside of scala-js-tutorial-fastopt.html

You can now start the webpage with your favorite web browser and see a private key, public key, scriptpubkey and bitcoin address output on the webpage.

firefox scala-js-tutorial-fastopt.html

Alt text

About

Template project for scalajs DOM manipulation from bitcoin-s


Languages

Language:Scala 90.9%Language:HTML 9.1%