mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 11:45:50 +00:00
fixes
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "js",
|
"name": "send-a-memo",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "send-a-memo.js",
|
"main": "send-a-memo.js",
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
"start": "node send-a-memo.js"
|
"start": "node send-a-memo.js"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "CC0-1.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"xrpl": "^2.0.0"
|
"xrpl": "^2.0.0"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ if (typeof module !== "undefined") {
|
|||||||
// Enter memo data to insert into a transaction
|
// Enter memo data to insert into a transaction
|
||||||
const MemoData = xrpl.convertStringToHex(string="Example Memo - 123 -=+");
|
const MemoData = xrpl.convertStringToHex(string="Example Memo - 123 -=+");
|
||||||
const MemoType = xrpl.convertStringToHex(string="Text");
|
const MemoType = xrpl.convertStringToHex(string="Text");
|
||||||
// MemoFormat values: # MemoFormat values: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
|
// MemoFormat values: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
|
||||||
const MemoFormat = xrpl.convertStringToHex(string="text/plain");
|
const MemoFormat = xrpl.convertStringToHex(string="text/plain");
|
||||||
|
|
||||||
// Send AccountSet transaction
|
// Send AccountSet transaction
|
||||||
|
|||||||
Reference in New Issue
Block a user