mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-26 22:55:49 +00:00
Add review comments
This commit is contained in:
@@ -8,7 +8,6 @@ import json
|
||||
|
||||
JSON_RPC_URL = "https://s.altnet.rippletest.net:51234/"
|
||||
client = JsonRpcClient(JSON_RPC_URL)
|
||||
print("Connected to Testnet")
|
||||
# @chunk-end
|
||||
|
||||
|
||||
@@ -24,20 +23,6 @@ print(f" https://testnet.xrpl.org/accounts/{test_account}")
|
||||
# @chunk-end
|
||||
|
||||
|
||||
# @chunk {"steps": ["get-account-x-address-tag"]}
|
||||
# Derive an x-address from the classic address:
|
||||
# https://xrpaddress.info/
|
||||
print("\nGenerating an x-address from the classic address...")
|
||||
test_xaddress = addresscodec.classic_address_to_xaddress(
|
||||
test_account,
|
||||
tag=12345,
|
||||
is_test_network=True
|
||||
)
|
||||
print(f"Classic address: {test_account}")
|
||||
print(f"X-address: {test_xaddress}")
|
||||
# @chunk-end
|
||||
|
||||
|
||||
# @chunk {"steps": ["query-xrpl-tag"]}
|
||||
# Look up info about your account
|
||||
print("\nGetting account info...")
|
||||
|
||||
Reference in New Issue
Block a user