monero-ts
monero-ts copied to clipboard
TypeScript library for using Monero
Hi I am running this code from the demo in node: ``` const monerojs = require("monero-javascript"); main(); async function main() { let daemon = await monerojs.connectToDaemonRpc("https://stagenet.xmr.ditatompel.com") console.log(daemon) } ``` [code...
Hi there, I use the view-only wallet plus offline wallet mechanism to sign keyImages.  I use `try catch`s to locate the error to be throw by the last line...
Add support for typescript via type definitions in @types folder. Install typescript, emit typedefs, and "fix" index.d.ts. Replace all BigInteger math function calls with standard BigInt... ... overloads (BigInteger(value).multiply(BigInteger(value2)) ->...
Closes #96 This PR updates most of the configuration to support multithreading. The build completes most of the way but fails with the following error during final linking: ``` [100%]...
Just noticed these packages are deprecated. Not sure if this is possible, but there is a native 'fetch' API that's NodeJS 18+ compatible: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API and https://blog.logrocket.com/fetch-api-node-js/ that might be nice...
Currently, the wallet wasm is single threaded, which is one of the biggest performance bottlenecks when syncing. This issue requests supporting multithreading, which is now supported in most major browsers.
When I parse a payment_uri with an integrated address like: `"monero:5F2AGUyXjR3bvX38GaAsARaQ1exeBCVkUbPTfGssBfXQ5VPor4eA144YpUE7FNg5bLcpEuehNne23MkG8ZMCkPEegecygCNXsmd1CnEenm?tx_amount=0.250000000000" ` and pass the MoneroTxConfig to createTx I get this error: `Uncaught (in promise) RuntimeError: Aborted(Assertion failed: R ==...
This issue requests switching to asynchronous fs calls which are better supported across environments.
For such a comprehensive and easy to use library for node, it's not possible to simply npm i monero-javascript and use it for front end/browser apps (yes, this is documented),...
This issue requests supporting typescript.