mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-05 04:15:50 +00:00
adds a readme and the package.json to execute the js file
This commit is contained in:
7
content/_code-samples/send-a-memo/js/README.md
Normal file
7
content/_code-samples/send-a-memo/js/README.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# JavaScript send Memo examples
|
||||
|
||||
Generates a random account and creates a payment transaction with Memo field.
|
||||
|
||||
### Random seed
|
||||
|
||||
npm start
|
||||
14
content/_code-samples/send-a-memo/js/package.json
Normal file
14
content/_code-samples/send-a-memo/js/package.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "js",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "send-a-memo.js",
|
||||
"scripts": {
|
||||
"start": "node send-a-memo.js"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"xrpl": "^2.0.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user