mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2026-07-23 15:10:18 +00:00
Adds a TypeScript equivalent of the 'Get Started Using JavaScript' tutorial, with runnable Node.js and Web code samples using xrpl.js. From the issue it covers the TypeScript specific asks: - Setting up a TypeScript project (typescript dep, tsconfig.json, compile and run steps). - Using xrpl.js's built-in types to build a transaction from input values and validate it (typed Payment + xrpToDrops + validate()). Closes #1208
13 lines
270 B
JSON
13 lines
270 B
JSON
{
|
|
"name": "get-started-typescript",
|
|
"description": "Example code for the Get Started Using TypeScript tutorial.",
|
|
"dependencies": {
|
|
"xrpl": "^4.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5.5.0",
|
|
"@types/node": "^22.0.0"
|
|
},
|
|
"type": "module"
|
|
}
|