Fix interactive tutorial faucet interface on Devnet; migrate AMM tutorial to Devnet

This commit is contained in:
mDuo13
2023-09-07 16:41:16 -07:00
parent 3437ee9fe2
commit fd273dccb8
5 changed files with 299 additions and 25 deletions

View File

@@ -37,7 +37,7 @@ Complete sample code for all of the steps of these tutorials is available under
## Steps
{% set n = cycler(* range(1,99)) %}
{% set use_network = "AMM-Devnet" %}
{% set use_network = "Devnet" %}
### {{n.next()}}. Connect to the network
@@ -131,7 +131,7 @@ If the AMM does already exist, you should double-check that you specified the ri
Creating an AMM has a special [transaction cost][] to prevent spam: since it creates objects in the ledger that no one owns, you must burn at least one [owner reserve increment](reserves.html) of XRP to send the AMMCreate transaction. The exact value can change due to [fee voting](https://xrpl.org/fee-voting.html), so you should look up the current incremental reserve value using the [server_state method][].
It is also a good practice to display this value and give a human operator a chance to stop before you send the transaction. Burning an owner reserve is typically a much higher cost than sending a normal transaction, so you don't want it to be a surprise. (Currently, on both Mainnet and AMM-Devnet, the cost of sending a typical transaction is 0.000010 XRP but the cost of AMMCreate is 2 XRP.)
It is also a good practice to display this value and give a human operator a chance to stop before you send the transaction. Burning an owner reserve is typically a much higher cost than sending a normal transaction, so you don't want it to be a surprise. (Currently, on both Mainnet and Devnet, the cost of sending a typical transaction is 0.000010 XRP but the cost of AMMCreate is 2 XRP.)
<!-- MULTICODE_BLOCK_START -->