A sample wallet using Blockstor API
- blockstor https://github.com/zenywallet/blockstor
- Nim https://nim-lang.org/
- rocksdb (librocksdb-dev)
- apache or nginx for web proxy and SSL
- Emscripten https://emscripten.org/
- Google Closure Compiler https://github.com/google/closure-compiler
git clone https://github.com/zenywallet/pastel-wallet
cd pastel-wallet
git submodule update --init
- Download Emscripten and install
- Download closure-compiler.jar and copy to bin/closure-compiler.jar
- Change ws_url in public/js/pastel.js to ws://localhost:5001/ws/
- Change baseurl in src/blockstor.nim to blockstor API URL
- Change blockstor_apikey in src/config.nim to blockstor API key
- Change newAsyncWebsocketClient in src/watcher.nim to blockstor WebSocket API
nimble depsAll
nimble build -d:release
nimble cipher
nimble minify
bin/pastel