Start AMM concept, AMM-Devnet support

This commit is contained in:
mDuo13
2022-12-01 18:46:56 -08:00
parent c6b6ad17b9
commit 6f89db4678
6 changed files with 156 additions and 40 deletions

View File

@@ -1,5 +1,6 @@
DEFAULT_ADDRESS_1 = "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn"
DEFAULT_ADDRESS_2 = "ra5nK24KXen9AHvsdFTKHSANinZseWnPcX"
TST_ISSUER = "rP9jPyP5kyvFRb6ZiRghAGw5u8SGAmU4bd"
Request("Account Methods")
@@ -475,6 +476,22 @@ Request('ripple_path_find', {
}
})
Request('amm_info', {
description: "Looks up info on an Automated Market Maker instance.",
link: "amm_info.html",
status: "not_enabled",
body: {
"command": "amm_info",
"asset": {
"currency": "XRP"
},
"asset2": {
"currency": "TST",
"issuer": TST_ISSUER
}
}
})
Request("Payment Channel Methods")
Request('channel_authorize', {