[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10633":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":23,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":39,"readmeContent":40,"aiSummary":41,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":42,"discoverSource":43},10633,"xrpl.js","XRPLF\u002Fxrpl.js","XRPLF","A JavaScript\u002FTypeScript API for interacting with the XRP Ledger in Node.js and the browser","https:\u002F\u002Fxrpl.org\u002F",null,"TypeScript",1327,575,193,144,0,2,10,1,21.28,false,"main",true,[25,26,27,28,29,30,31,32,33,34,35,36,37,38],"api","blockchain","crypto","cryptocurrencies","cryptocurrency","javascript","nodejs","ripple","rippleapi","typescript","xrp","xrp-ledger","xrpl","xrpljs","2026-06-12 02:02:24","# xrpl.js\n\nA JavaScript\u002FTypeScript library for interacting with the XRP Ledger\n\n[![NPM](https:\u002F\u002Fnodei.co\u002Fnpm\u002Fxrpl.png)](https:\u002F\u002Fwww.npmjs.org\u002Fpackage\u002Fxrpl)\n![npm bundle size](https:\u002F\u002Fimg.shields.io\u002Fbundlephobia\u002Fmin\u002Fxrpl)\n\nThis is the recommended library for integrating a JavaScript\u002FTypeScript app with the XRP Ledger, especially if you intend to use advanced functionality such as IOUs, payment paths, the decentralized exchange, account settings, payment channels, escrows, multi-signing, and more.\n\n## [➡️ Reference Documentation](http:\u002F\u002Fjs.xrpl.org)\n\nSee the full reference documentation for all classes, methods, and utilities.\n\n## Features\n\n1. Managing keys & creating test credentials ([`Wallet`](https:\u002F\u002Fjs.xrpl.org\u002Fclasses\u002FWallet.html) && [`Client.fundWallet()`](https:\u002F\u002Fjs.xrpl.org\u002Fclasses\u002FClient.html#fundWallet))\n2. Submitting transactions to the XRP Ledger ([`Client.submit(...)`](https:\u002F\u002Fjs.xrpl.org\u002Fclasses\u002FClient.html#submit) & [transaction types](https:\u002F\u002Fxrpl.org\u002Ftransaction-types.html))\n3. Sending requests to observe the ledger ([`Client.request(...)`](https:\u002F\u002Fjs.xrpl.org\u002Fclasses\u002FClient.html#request) using [public API methods](https:\u002F\u002Fxrpl.org\u002Fpublic-api-methods.html))\n4. Subscribing to changes in the ledger ([Ex. ledger, transactions, & more...](https:\u002F\u002Fxrpl.org\u002Fsubscribe.html))\n5. Parsing ledger data into more convenient formats ([`xrpToDrops`](https:\u002F\u002Fjs.xrpl.org\u002Ffunctions\u002FxrpToDrops.html) and [`rippleTimeToISOTime`](https:\u002F\u002Fjs.xrpl.org\u002Ffunctions\u002FrippleTimeToISOTime.html))\n\nAll of which works in Node.js (tested for v20+) & web browsers (tested for Chrome).\n\n# Quickstart\n\n### Requirements\n\n+ **[Node.js v22](https:\u002F\u002Fnodejs.org\u002F)** is recommended. We also support v20. Other versions may work but are not frequently tested.\n\n### Installing xrpl.js\n\nIn an existing project (with package.json), install xrpl.js with:\n\n```\n$ npm install --save xrpl\n```\n\nOr with `yarn`:\n\n```\n$ yarn add xrpl\n```\n\nExample usage:\n\n```js\nconst xrpl = require(\"xrpl\");\nasync function main() {\n  const client = new xrpl.Client(\"wss:\u002F\u002Fs.altnet.rippletest.net:51233\");\n  await client.connect();\n\n  const response = await client.request({\n    command: \"account_info\",\n    account: \"rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe\",\n    ledger_index: \"validated\",\n  });\n  console.log(response);\n\n  await client.disconnect();\n}\nmain();\n```\n\nFor a more in-depth example, you can copy\u002Fforking this Code Sandbox template!\n\u003Cbr>https:\u002F\u002Fcodesandbox.io\u002Fs\u002Fxrpl-intro-pxgdjr?file=\u002Fsrc\u002FApp.js\n\nIt goes through:\n\n1. Creating a new test account\n2. Sending a payment transaction\n3. And sending requests to see your account balance!\n\n### Case by Case Setup Steps\n\nIf you're using xrpl.js with React or Deno, you'll need to do a couple extra steps to set it up:\n\n- [Using xrpl.js with a CDN](https:\u002F\u002Fgithub.com\u002FXRPLF\u002Fxrpl.js\u002Fblob\u002Fmain\u002FUNIQUE_SETUPS.md#using-xrpljs-from-a-cdn)\n- [Using xrpl.js with `create-react-app`](https:\u002F\u002Fgithub.com\u002FXRPLF\u002Fxrpl.js\u002Fblob\u002Fmain\u002FUNIQUE_SETUPS.md#using-xrpljs-with-create-react-app)\n- [Using xrpl.js with `React Native`](https:\u002F\u002Fgithub.com\u002FXRPLF\u002Fxrpl.js\u002Fblob\u002Fmain\u002FUNIQUE_SETUPS.md#using-xrpljs-with-react-native)\n- [Using xrpl.js with `Vite React`](https:\u002F\u002Fgithub.com\u002FXRPLF\u002Fxrpl.js\u002Fblob\u002Fmain\u002FUNIQUE_SETUPS.md#using-xrpljs-with-vite-react)\n\n## Documentation\n\nAs you develop with xrpl.js, there's two sites you'll use extensively:\n\n1. [xrpl.org](https:\u002F\u002Fxrpl.org\u002Freferences.html) is the primary source for:\n   - How the ledger works ([See Concepts](https:\u002F\u002Fxrpl.org\u002Fconcepts.html#main-page-header))\n   - What kinds of transactions there are ([Transaction Types](https:\u002F\u002Fxrpl.org\u002Ftransaction-types.html#transaction-types))\n   - Requests you can send ([Public API Methods](https:\u002F\u002Fxrpl.org\u002Fpublic-api-methods.html))\n   - Tutorials for interacting with various features of the ledger ([Tutorials](https:\u002F\u002Fxrpl.org\u002Ftutorials.html#main-page-header))\n2. [js.xrpl.org](https:\u002F\u002Fjs.xrpl.org\u002F) has the reference docs for this library\n\n### Mailing Lists\n\nIf you want to hear when we release new versions of xrpl.js, you can join our low-traffic mailing list (About 1 email per week):\n\n- [Subscribe to xrpl-announce](https:\u002F\u002Fgroups.google.com\u002Fg\u002Fxrpl-announce)\n\nIf you're using the XRP Ledger in production, you should run a [rippled server](https:\u002F\u002Fgithub.com\u002Fripple\u002Frippled) and subscribe to the ripple-server mailing list as well.\n\n- [Subscribe to ripple-server](https:\u002F\u002Fgroups.google.com\u002Fg\u002Fripple-server)\n\n## Asking for help\n\nOne of the best spots to ask for help is in the [XRPL Developer Discord](https:\u002F\u002Fxrpldevs.org) - There's a channel for xrpl.js where other community members can help you figure out how to accomplish your goals.\n\nYou are also welcome to create an [issue](https:\u002F\u002Fgithub.com\u002FXRPLF\u002Fxrpl.js\u002Fissues) here and we'll do our best to respond within 3 days.\n\n## Key Links\n\n- [xrpl.js Reference Docs](https:\u002F\u002Fjs.xrpl.org\u002F)\n- [xrpl.org (Detailed docs on how the XRPL works)](https:\u002F\u002Fxrpl.org\u002Freferences.html)\n- [XRPL Code Samples](https:\u002F\u002Fgithub.com\u002FXRPLF\u002Fxrpl-dev-portal\u002Ftree\u002Fmaster\u002F_code-samples)\n- [#javascript in the XRPL Developer Discord for questions & support](https:\u002F\u002Fxrpldevs.org)\n- [xrpl-announce (The mailing list for new xrpl.js versions)](https:\u002F\u002Fgroups.google.com\u002Fg\u002Fxrpl-announce)\n- [Applications that use xrpl.js](https:\u002F\u002Fgithub.com\u002FXRPLF\u002Fxrpl.js\u002Fblob\u002Fmain\u002FAPPLICATIONS.md) (You can open a PR to add your project!)\n","xrpl.js 是一个用于在 Node.js 和浏览器环境中与 XRP Ledger 交互的 JavaScript\u002FTypeScript 库。其核心功能包括管理密钥、创建测试凭证、提交交易、发送请求以观察账本状态、订阅账本变更以及将账本数据解析为更易用的格式。该库支持多种高级功能，如 IOU、支付路径、去中心化交易所、账户设置、支付通道、托管、多签等。适用于需要集成 XRP Ledger 功能的 JavaScript\u002FTypeScript 应用场景，特别适合那些希望利用 XRP Ledger 提供的复杂特性的开发者。","2026-06-11 03:29:27","top_topic"]