https://github.com/coinspace/monero-core-js
JS library for creating Monero transactions
https://github.com/coinspace/monero-core-js
js monero wasm webassembly
Last synced: 12 days ago
JSON representation
JS library for creating Monero transactions
- Host: GitHub
- URL: https://github.com/coinspace/monero-core-js
- Owner: CoinSpace
- License: mit
- Created: 2021-05-10T12:29:52.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-02-19T20:50:35.000Z (about 1 year ago)
- Last Synced: 2025-03-27T18:52:41.632Z (30 days ago)
- Topics: js, monero, wasm, webassembly
- Language: C++
- Homepage: http://coin.space
- Size: 1.12 MB
- Stars: 4
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Monero Core JS
[](https://github.com/CoinSpace/monero-core-js/actions/workflows/ci.yml)
[](https://github.com/CoinSpace/monero-core-js/tags)
[](https://github.com/CoinSpace/monero-core-js/blob/master/LICENSE)JS library for creating Monero transactions.
## Development
```
docker-compose build
docker-compose up -d
docker exec -it monero-core-js-emscripten-1 cp -r /src/build /app
docker exec -it monero-core-js-emscripten-1 ./bin/build-emcpp.shnpm install
npm test
```## Debug in Chrome Console
Install https://goo.gle/wasm-debugging-extension and set Path substitutions in extension options:
```
Module: MyMoneroCoreCpp_WASM.wasm
/app
[path_to_monero_core_js]
```Open Chrome DevTools, click the gear (⚙) icon in the top right corner of DevTools pane, go to the Experiments panel and tick WebAssembly Debugging: Enable DWARF support.
```
npm run serve
npm run serve:wasm
# Open Chrome Console => Sources => file:// => add break point
```