{"id":15282451,"url":"https://github.com/xkrsz/moneyro","last_synced_at":"2026-05-06T08:37:20.105Z","repository":{"id":57301486,"uuid":"131606199","full_name":"xkrsz/moneyro","owner":"xkrsz","description":"Node.js library for interacting with Monero API.","archived":false,"fork":false,"pushed_at":"2018-05-14T18:46:05.000Z","size":70,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-19T22:48:53.331Z","etag":null,"topics":["cryptocurrency","monero","monero-api","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xkrsz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-30T14:31:02.000Z","updated_at":"2024-05-31T07:33:36.000Z","dependencies_parsed_at":"2022-09-08T11:13:56.536Z","dependency_job_id":null,"html_url":"https://github.com/xkrsz/moneyro","commit_stats":null,"previous_names":["krszwsk/moneyro","xkrsz/moneyro"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/xkrsz/moneyro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xkrsz%2Fmoneyro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xkrsz%2Fmoneyro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xkrsz%2Fmoneyro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xkrsz%2Fmoneyro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xkrsz","download_url":"https://codeload.github.com/xkrsz/moneyro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xkrsz%2Fmoneyro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32625976,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cryptocurrency","monero","monero-api","nodejs"],"created_at":"2024-09-30T14:26:14.376Z","updated_at":"2026-05-04T21:32:15.532Z","avatar_url":"https://github.com/xkrsz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# moneyro\nNode.js library for interacting with Monero API.\n\n[![npm version](https://badge.fury.io/js/moneyro.svg)](https://badge.fury.io/js/moneyro)\n[![dependencies Status](https://david-dm.org/krszwsk/moneyro/status.svg)](https://david-dm.org/krszwsk/moneyro)\n\n## Library not tested in production environment yet.\n\n## Table of contents\n- [Installation](#installation)\n- [Prerequisites](#prerequisites)\n  - [Running `monero-wallet-rpc`](#running-monero-wallet-rpc)\n- [Usage](#usage)\n- [API](#api)\n\n## Installation\n```\nyarn add moneyro\n```\n\n## Prerequisites\n`Wallet` needs a running `monero-wallet-rpc`, while `Daemon` connects to `monerod`.\n\nHead to https://getmonero.org/downloads/ and download Command-Line tools for your platform.\n\n### Running `monero-wallet-rpc`\n1. Start your daemon:\n```\n./monerod --testnet\n```\n2. Start wallet RPC client\n```\n./monero-wallet-rpc \\\n  --testnet --rpc-bind-port 18082 \\\n  --wallet-dir \u003cfolder-for-your-wallets\u003e \\\n  --disable-rpc-login \\\n  --log-level 4\n```\n\nAnd that's it, you're ready to use `moneyro`.\n\n## Usage\n### Wallet\n```js\nimport { Wallet } from 'moneyro';\n\nconst wallet = new Wallet();\n\n(async () =\u003e {\n  try {\n    await wallet.create('test-wallet', 'strongpassword');\n    const response = await wallet.getAddress();\n    console.log(response); // { address: '...', addresses: [ ... ] }\n  } catch (err) {\n    console.error(err);\n  }\n})();\n```\n\n### Daemon\n```js\nimport { Daemon } from 'moneyro';\n\nconst daemon = new Daemon({\n  hostname: 'testnet.xmrchain.net',\n});\n\n(async () =\u003e {\n  try {\n    const response = await daemon.getBlockCount();\n    console.log(response); // { count: 1098883, status: 'OK' }\n  } catch (err) {\n    console.error(err);\n  }\n})();\n```\n\n## API\n### Wallet\n#### constructor([options])\n\n##### options\nType: `Object`\n\n###### hostname\nType: `string`\u003cbr\u003e\nDefault: `'127.0.0.1'`\n\n###### port\nType: `int`\u003cbr\u003e\nDefault: `18082`\n\n###### username\nType: `string`\n\n###### password\nType: `string`\n\n\n#### create(filename, password, [language])\nCreates a new wallet. You need to have set the\nargument \"–wallet-dir\" when launching monero-wallet-rpc to make this work.\n\n##### filename\nType: `string`\n\n##### password\nType: `string`\n\n##### language\nType: `string`\u003cbr\u003e\nDefault: `'English'`\n\n\n#### open(filename, password)\nOpens a wallet. You need to have set the\nargument \"–wallet-dir\" when launching monero-wallet-rpc to make this work.\n\n##### filename\nType: `string`\n\n##### password\nType: `string`\n\n#### getBalance()\n\n##### Returns `Promise`:\n###### balance\nType: `uint`\n\n###### unlockedBalance\nType: `uint`\n\n#### transfer(options)\nTransfers monero to specified recipient(s).\n\n##### options\nType: `Object`\n\n###### destinations\nType: `array\u003c{ amount: uint, address: string }\u003e`\n\n###### mixin\nType: `uint`\n\nNumber of outpouts from the blockchain to mix with (0 means no mixing).\n\n###### unlockTime\nType: `uint`\n\nNumber of blocks before the monero can be spent (0 to not add a lock).\n\n###### priority\nType: `uint`\u003cbr\u003e\nOptions: \n- `0`\n- `1`\n- `2`\n- `3`\n\n###### getTxHex\nType: `boolean`\n\n###### paymentId\nType: `string`\u003cbr\u003e\nDefault: `''`\n\nRandom 32-byte/64-character hex string to identify a transaction.\n\n###### getTxKey\nType: `boolean`\u003cbr\u003e\nDefault: `false`\n\n###### doNotRelay\nType: `boolean`\u003cbr\u003e\nDefault: `false`\n\n### Daemon\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxkrsz%2Fmoneyro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxkrsz%2Fmoneyro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxkrsz%2Fmoneyro/lists"}