mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 03:35:51 +00:00
fixes
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "js",
|
||||
"name": "send-a-memo",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "send-a-memo.js",
|
||||
@@ -7,8 +7,8 @@
|
||||
"start": "node send-a-memo.js"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"xrpl": "^2.0.0"
|
||||
}
|
||||
"license": "CC0-1.0",
|
||||
"dependencies": {
|
||||
"xrpl": "^2.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ if (typeof module !== "undefined") {
|
||||
// Enter memo data to insert into a transaction
|
||||
const MemoData = xrpl.convertStringToHex(string="Example Memo - 123 -=+");
|
||||
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");
|
||||
|
||||
// Send AccountSet transaction
|
||||
|
||||
Reference in New Issue
Block a user