https://github.com/jmininger/kadena-crypto-ghcjs
https://github.com/jmininger/kadena-crypto-ghcjs
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jmininger/kadena-crypto-ghcjs
- Owner: jmininger
- Created: 2021-06-29T17:27:30.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-29T22:59:10.000Z (about 5 years ago)
- Last Synced: 2025-03-22T06:27:51.681Z (over 1 year ago)
- Language: Haskell
- Size: 207 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
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/
```