update content/tutorials/manage-account-settings/require-destination-tags.md

- add python tabs
This commit is contained in:
Riku
2023-02-17 17:17:01 +01:00
parent 259360735d
commit 8ef2befe05

View File

@@ -42,8 +42,18 @@ When you're [building production-ready software](production-readiness.html), you
You must be connected to the network to submit transactions to it. The following code shows how to connect to a public XRP Ledger Testnet server a supported [client library](client-libraries.html):
<!-- MULTICODE_BLOCK_START -->
_JavaScript_
{{ include_code("_code-samples/get-started/js/base.js", language="js") }}
_Python_
{{ include_code("_code-samples/get-started/py/base.py", language="py") }}
<!-- MULTICODE_BLOCK_END -->
For this tutorial, click the following button to connect:
{% include '_snippets/interactive-tutorials/connect-step.md' %}
@@ -60,6 +70,10 @@ _JavaScript_
{{ include_code("_code-samples/require-destination-tags/js/require-destination-tags.js", language="js", start_with="// Send AccountSet", end_before="// Confirm Account") }}
_Python_
{{ include_code("_code-samples/require-destination-tags/py/require-destination-tags.py", language="py", start_with="# Send AccountSet", end_before="# Confirm Account") }}
<!-- MULTICODE_BLOCK_END -->
{{ start_step("Send AccountSet") }}
@@ -89,6 +103,10 @@ _JavaScript_
{{ include_code("_code-samples/require-destination-tags/js/require-destination-tags.js", language="js", start_with="// Confirm Account", end_before="// End main()") }}
_Python_
{{ include_code("_code-samples/require-destination-tags/py/require-destination-tags.py", language="py", start_with="# Confirm Account", end_before="# End main()") }}
<!-- MULTICODE_BLOCK_END -->