jmininger / kadena-crypto-ghcjs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kadena-crypto-ghcjs

A ghcjs wrapper around cardano-crypto.js (containing kadena-specific changes)

Running the test exe
nix-build
cd result/bin/test.jsexe/
chromium index.html
Hacking

The underlying js library is actually a wrapper around C-code that gets compiled to nodejs with emscripten. Browserify then converts the nodejs code to code that can run in the browser

nix-thunk unpack dep/cardano-crypto.js
cd dep/cardano-crypto.js
nix-shell
npm install
./dev
cd ../../
cp dep/cardano-crypto.js/kadena-crypto.js js-bits/

About


Languages

Language:Haskell 67.1%Language:Nix 32.9%