mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-23 13:15:49 +00:00
Merge pull request #2113 from XRPLF/readd_create_amm_tutorial
Tutorial: Create an Automated Market Maker
This commit is contained in:
@@ -11,7 +11,7 @@ async function main() {
|
||||
// ... custom code goes here
|
||||
|
||||
// Disconnect when done (If you omit this, Node.js won't end the process)
|
||||
client.disconnect()
|
||||
await client.disconnect()
|
||||
}
|
||||
|
||||
main()
|
||||
|
||||
@@ -32,7 +32,7 @@ async function main() {
|
||||
})
|
||||
|
||||
// Disconnect when done so Node.js can end the process
|
||||
client.disconnect()
|
||||
await client.disconnect()
|
||||
}
|
||||
|
||||
// call the async function
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"xrpl": "^2.0.0"
|
||||
"xrpl": "^2.11.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user