An open API service indexing awesome lists of open source software.

https://github.com/jmininger/kadena-crypto-ghcjs


https://github.com/jmininger/kadena-crypto-ghcjs

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

### 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/
```