mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 11:45:50 +00:00
Add line breaks after initial h1's consistently
This commit is contained in:
@@ -94,6 +94,7 @@ This method returns a [`Wallet` instance](https://xrpl-py.readthedocs.io/en/late
|
||||
print(test_wallet)
|
||||
|
||||
# print output
|
||||
|
||||
public_key:: 022FA613294CD13FFEA759D0185007DBE763331910509EF8F1635B4F84FA08AEE3
|
||||
private_key:: -HIDDEN-
|
||||
classic_address: raaFKKmgf6CRZttTVABeTcsqzRQ51bNR6Q
|
||||
|
||||
@@ -5,4 +5,5 @@ top_nav_grouping: Article Types
|
||||
template: pagetype-category.html.jinja
|
||||
---
|
||||
# HTTP / Websocket APIs
|
||||
|
||||
XRPL tutorials for HTTP / Websocket APIs.
|
||||
@@ -5,4 +5,5 @@ top_nav_grouping: Article Types
|
||||
template: pagetype-category.html.jinja
|
||||
---
|
||||
# Java
|
||||
|
||||
XRPL tutorials in Java.
|
||||
@@ -5,4 +5,5 @@ top_nav_grouping: Article Types
|
||||
template: pagetype-category.html.jinja
|
||||
---
|
||||
# JavaScript
|
||||
|
||||
XRPL tutorials in JavaScript.
|
||||
@@ -5,4 +5,5 @@ top_nav_grouping: Article Types
|
||||
template: pagetype-category.html.jinja
|
||||
---
|
||||
# Modular Tutorials in JavaScript
|
||||
|
||||
Modular XRPL tutorials in JavaScript.
|
||||
@@ -5,4 +5,5 @@ top_nav_grouping: Article Types
|
||||
template: pagetype-category.html.jinja
|
||||
---
|
||||
# NFTs Using JavaScript
|
||||
|
||||
Mint and sell NFTs on the XRP Ledger using JavaScript.
|
||||
@@ -482,6 +482,7 @@ if ((lsfDisableMaster & acct_flags) === lsfDisableMaster) {
|
||||
|
||||
```python
|
||||
# Assuming the JSON-RPC response above is parsed from JSON
|
||||
|
||||
# and saved as the variable account_info_response
|
||||
lsfDisableMaster = 0x00100000
|
||||
acct_flags = account_info_response["result"]["account_data"]["Flags"]
|
||||
|
||||
@@ -5,4 +5,5 @@ top_nav_grouping: Article Types
|
||||
template: pagetype-category.html.jinja
|
||||
---
|
||||
# Python
|
||||
|
||||
XRPL tutorials in Python.
|
||||
@@ -6,4 +6,5 @@ template: pagetype-category.html.jinja
|
||||
blurb: Mint and sell NFTs on the XRP Ledger using Python.
|
||||
---
|
||||
# NFTs Using Python
|
||||
|
||||
Mint and sell NFTs on the XRP Ledger using Python.
|
||||
@@ -551,7 +551,7 @@ def standby_cancel_offer():
|
||||
ent_standby_nft_offer_index.get()
|
||||
)
|
||||
text_standby_results.delete("1.0", tk.END)
|
||||
text_standby_results.insert("1.0", json.dumps(results, indent=4))
|
||||
text_standby_results.insert("1.0", json.dumps(results, indent=4))
|
||||
def op_create_sell_offer():
|
||||
results = create_sell_offer(
|
||||
ent_operational_seed.get(),
|
||||
@@ -579,7 +579,7 @@ def op_create_buy_offer():
|
||||
ent_operational_destination.get()
|
||||
)
|
||||
text_operational_results.delete("1.0", tk.END)
|
||||
text_operational_results.insert("1.0", json.dumps(results, indent=4))
|
||||
text_operational_results.insert("1.0", json.dumps(results, indent=4))
|
||||
def op_accept_buy_offer():
|
||||
results = accept_buy_offer (
|
||||
ent_operational_seed.get(),
|
||||
@@ -597,7 +597,7 @@ def op_cancel_offer():
|
||||
ent_operational_nft_offer_index.get()
|
||||
)
|
||||
text_operational_results.delete("1.0", tk.END)
|
||||
text_operational_results.insert("1.0", json.dumps(results, indent=4))
|
||||
text_operational_results.insert("1.0", json.dumps(results, indent=4))
|
||||
|
||||
|
||||
# Module 3 Handlers
|
||||
@@ -690,10 +690,10 @@ def operational_configure_account():
|
||||
def get_balances():
|
||||
results = get_balance(ent_operational_account.get(), ent_standby_account.get())
|
||||
text_standby_results.delete("1.0", tk.END)
|
||||
text_standby_results.insert("1.0", json.dumps(results, indent=4))
|
||||
text_standby_results.insert("1.0", json.dumps(results, indent=4))
|
||||
results = get_balance(ent_standby_account.get(), ent_operational_account.get())
|
||||
text_operational_results.delete("1.0", tk.END)
|
||||
text_operational_results.insert("1.0", json.dumps(results, indent=4))
|
||||
text_operational_results.insert("1.0", json.dumps(results, indent=4))
|
||||
|
||||
# Module 1 Handlers
|
||||
def get_standby_account():
|
||||
@@ -996,7 +996,7 @@ btn_op_burn_token = tk.Button(master=frm_form, text="Burn NFT",
|
||||
btn_op_burn_token.grid(row=10, column=3, sticky="nsew")
|
||||
```
|
||||
|
||||
Add buttons for transferring NFTs.
|
||||
Add buttons for transferring NFTs.
|
||||
|
||||
```python
|
||||
btn_op_create_sell_offer = tk.Button(master=frm_form, text="Create Sell Offer",
|
||||
@@ -1019,5 +1019,6 @@ btn_op_cancel_offer = tk.Button(master=frm_form, text="Cancel Offer",
|
||||
btn_op_cancel_offer.grid(row=16, column=3, sticky="nsew")
|
||||
|
||||
# Start the application
|
||||
|
||||
window.mainloop()
|
||||
```
|
||||
@@ -5,4 +5,5 @@ top_nav_grouping: Article Types
|
||||
template: pagetype-category.html.jinja
|
||||
---
|
||||
# Tasks
|
||||
|
||||
Common tasks on the XRP Ledger.
|
||||
@@ -4,4 +4,5 @@ parent: tasks.html
|
||||
template: pagetype-category.html.jinja
|
||||
---
|
||||
# Manage Account Settings
|
||||
|
||||
Set up your XRP Ledger account to send and receive payments the way you want it to.
|
||||
@@ -4,4 +4,5 @@ parent: tasks.html
|
||||
template: pagetype-category.html.jinja
|
||||
---
|
||||
# Use Specialized Payment Types
|
||||
|
||||
Use advanced features like Escrow and Payment Channels to build smart applications on the XRP Ledger.
|
||||
@@ -4,4 +4,5 @@ parent: use-specialized-payment-types.html
|
||||
template: pagetype-category.html.jinja
|
||||
---
|
||||
# Use Escrows
|
||||
|
||||
The XRP Ledger supports escrows that can be executed only after a certain time has passed or a cryptographic condition has been fulfilled. Escrows can only send XRP, not issued currencies.
|
||||
@@ -4,4 +4,5 @@ parent: tasks.html
|
||||
template: pagetype-category.html.jinja
|
||||
---
|
||||
# Use Tokens
|
||||
|
||||
Create and trade tokens (fungible or otherwise) in the XRP Ledger.
|
||||
@@ -35,6 +35,7 @@ release_date_utc = datetime.datetime(2017,11,13,0,0,0,tzinfo=datetime.timezone.u
|
||||
release_date_ripple = int(release_date_utc.timestamp()) - 946684800
|
||||
print(release_date_ripple)
|
||||
# 563846400
|
||||
|
||||
```
|
||||
|
||||
#}-->
|
||||
@@ -228,6 +229,6 @@ Response:
|
||||
- [Escrow ledger object](escrow-object.html)
|
||||
|
||||
<!--{# common link defs #}-->
|
||||
{% include '_snippets/rippled-api-links.md' %}
|
||||
{% include '_snippets/tx-type-links.md' %}
|
||||
{% include '_snippets/rippled-api-links.md' %}
|
||||
{% include '_snippets/tx-type-links.md' %}
|
||||
{% include '_snippets/rippled_versions.md' %}
|
||||
|
||||
@@ -11,6 +11,7 @@ labels:
|
||||
- AMM
|
||||
---
|
||||
# Create an Automated Market Maker
|
||||
|
||||
_(Requires the [AMM amendment][] :not_enabled:)_
|
||||
|
||||
An [Automated Market Maker (AMM)](automated-market-makers.html) can be an efficient way to facilitate exchanges between two assets while earning its liquidity providers passive income. This tutorial shows how to create an AMM for a given asset pair.
|
||||
|
||||
Reference in New Issue
Block a user