Skip to content

Commit d609153

Browse files
Merge branch 'main' into update-token-example-naming
2 parents dd892ac + 722ac63 commit d609153

11 files changed

Lines changed: 106 additions & 9 deletions

File tree

config/theme/navbar.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,11 @@ const data: NavbarItem = {
353353
label: 'Hubble',
354354
activeBasePath: 'docs/data/analytics/hubble'
355355
},
356+
{
357+
to: '/docs/data/analytics/public-dashboards',
358+
label: 'Dashboards',
359+
activeBasePath: 'docs/data/analytics/public-dashboards'
360+
},
356361
{
357362
to: '/docs/data/analytics/analytics-providers',
358363
label: 'Providers',

docs/build/smart-contracts/example-contracts/tokens.mdx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ This example shows how to build a token from scratch using only the `soroban-sdk
3535

3636
[open-in-github-codespaces]: https://github.com/codespaces/new?repo=stellar/soroban-examples&editor=web
3737
[open-in-code-anywhere]: https://app.codeanywhere.com/#https://github.com/stellar/soroban-examples
38-
[token example]: https://github.com/stellar/soroban-examples/tree/v23.0.0/token
38+
[token example]: https://github.com/stellar/soroban-examples/tree/main/token
3939
[token interface]: ../../../tokens/token-interface.mdx
4040

4141
:::info[Whisk Changes]
@@ -46,10 +46,10 @@ With the release of Whisk, Protocol 23, the [token interface] has seen some chan
4646

4747
## Run the Example
4848

49-
First go through the [Setup] process to get your development environment configured, then clone the `v23.0.0` tag of `soroban-examples` repository:
49+
First go through the [Setup] process to get your development environment configured, then clone the `soroban-examples` repository:
5050

5151
```sh
52-
git clone -b v23.0.0 https://github.com/stellar/soroban-examples
52+
git clone https://github.com/stellar/soroban-examples
5353
```
5454

5555
Or, skip the development environment setup and open this example in [GitHub Codespaces][open-in-github-codespaces] or [Code Anywhere][open-in-code-anywhere].
@@ -338,8 +338,6 @@ impl TokenInterface for Token {
338338
.extend_ttl(INSTANCE_LIFETIME_THRESHOLD, INSTANCE_BUMP_AMOUNT);
339339

340340
write_allowance(&e, from.clone(), spender.clone(), amount, live_until_ledger);
341-
// The event's `expiration_ledger` data field name is unchanged to
342-
// preserve on-chain event compatibility (soroban-token-sdk::events::Approve).
343341
events::Approve {
344342
from,
345343
spender,
@@ -507,7 +505,7 @@ pub enum DataKey {
507505
</TabItem>
508506
</Tabs>
509507

510-
Ref: https://github.com/stellar/soroban-examples/tree/v23.0.0/token
508+
Ref: https://github.com/stellar/soroban-examples/tree/main/token
511509

512510
## How it Works
513511

@@ -601,7 +599,7 @@ Of course, you will want your token to behave in an _intuitive_ and _transparent
601599

602600
## Tests
603601

604-
Open the [`token/src/test.rs`](https://github.com/stellar/soroban-examples/tree/v23.0.0/token/src/test.rs) file to follow along.
602+
Open the [`token/src/test.rs`](https://github.com/stellar/soroban-examples/tree/main/token/src/test.rs) file to follow along.
605603

606604
```rust title="token/src/test.rs"
607605
#![cfg(test)]
@@ -879,7 +877,7 @@ fn test_zero_allowance() {
879877
}
880878
```
881879

882-
The token example implements eight different tests to cover a wide array of potential behaviors and problems. However, all of the tests start with a few common pieces. In any test, the first thing that is always required is an `Env`, which is the Soroban environment that the contract will run in.
880+
The token example implements six different tests to cover a wide array of potential behaviors and problems. However, all of the tests start with a few common pieces. In any test, the first thing that is always required is an `Env`, which is the Soroban environment that the contract will run in.
883881

884882
```rust
885883
let e = Env::default();

docs/data/README.mdx

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,28 @@ There are several products to choose from when interacting with the Stellar Netw
77

88
Use the summaries below to determine which types of data tools are right for your use case.
99

10+
## Compare Data Products
11+
12+
SDF maintains four data products. Two are APIs and two are for bulk historical data, so start by picking the row that matches how you want to consume the data.
13+
14+
| | [RPC](./apis/rpc/README.mdx) | [Horizon](./apis/horizon/README.mdx) | [Hubble](./analytics/hubble/README.mdx) | [Galexie](./indexers/build-your-own/galexie/README.mdx) |
15+
| --- | --- | --- | --- | --- |
16+
| Type | API | API | Data warehouse | Ledger export tool |
17+
| Interface | JSON-RPC | REST | SQL (BigQuery) | XDR files in your data lake |
18+
| Real-time data |||||
19+
| Historical data | About 7 days | 1 year\* | Full | Full |
20+
| Smart contract data |||||
21+
| Transaction submission |||||
22+
| Transaction simulation |||||
23+
| Curated and parsed data |||||
24+
| Hosted by SDF | Testnet and futurenet | Mainnet, testnet, and futurenet\* | Public BigQuery dataset | None\*\* |
25+
26+
\*_The SDF-hosted Horizon keeps one year of history and is nearing end-of-life in favor of RPC. A self-hosted Horizon can serve full history, but Hubble or Galexie are the recommended tools for that._
27+
28+
\*\*_SDF does not host a Galexie data lake, but [several providers](./indexers/build-your-own/galexie/providers.mdx) make public ones available._
29+
30+
The [Ingest SDK](./indexers/build-your-own/ingest-sdk/README.mdx) and [Processors](./indexers/build-your-own/processors/README.mdx) are libraries for building on top of these products rather than data products themselves. Third-party APIs, indexers, and analytics platforms are listed on their own pages in each section below.
31+
1032
## [Analytics](./analytics/README.mdx)
1133

1234
Explore and analyze Stellar network data to uncover trends, track activity, and generate insights for decision-making and reporting.

docs/data/analytics/README.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ Hubble is an open-source, read-only BigQuery data warehouse maintained by SDF th
1111

1212
Within Hubble, the stellar-etl product powers the extraction and transformation of Stellar network data into BigQuery. This open-source pipeline allows developers to extend or customize data ingestion workflows based on their analytical needs. Stellar-etl provides flexibility in how data is processed, enabling users to extract specific ledger entries, operations, or event logs based on their requirements.
1313

14+
## [Public Dashboards](./public-dashboards.mdx)
15+
16+
Public Dashboards is a directory of free, browser-based dashboards that track Stellar network activity, real-world assets, stablecoins, and DeFi. Most are maintained by ecosystem analytics platforms rather than SDF. Start here if you want to look at Stellar metrics without writing a query.
17+
1418
## [Data Analytics Providers](./analytics-providers/analytics-providers.mdx)
1519

1620
Data Analytics Providers provide a complete historical record of Pubnet Stellar network data for analysis and insights. These platforms enable users to explore network trends but are not designed for real-time data access or transaction execution. The key difference is that these ecosystem platforms operate independently of SDF and provide metrics and dashboards about the Stellar network.

docs/data/analytics/analytics-providers/analytics-providers.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ title: Data Analytics Providers
55

66
The following is a list of data analytics platforms that make a complete historical record of Pubnet Stellar network data available.
77

8+
For curated dashboards you can browse without writing queries, see the [Public Dashboards](../public-dashboards.mdx) page.
9+
810
| Platform | Description | Home page and Signup | Pricing | Data Access | Dashboard access |
911
| --- | --- | --- | --- | --- | --- |
1012
| Hubble | SDF provides a publicly available raw dataset with a complete historical record of Stellar network data, updated every 15 minutes. | [Hubble](https://console.cloud.google.com/bigquery?project=crypto-stellar&ws=!1m4!1m3!3m2!1scrypto-stellar!2scrypto_stellar) <br></br> [Signup](https://cloud.google.com/?hl=en) | End users incur the cost to execute queries. Visit the [BigQuery Pricing](https://cloud.google.com/bigquery/pricing#analysis_pricing_models) page to learn more. | Please see the [Analyst Guide](./hubble/analyst-guide) for more information. | N/A |
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: Public Dashboards
3+
description: A directory of free, public dashboards that track Stellar network activity, real-world assets, stablecoins, and DeFi.
4+
sidebar_position: 500
5+
---
6+
7+
This page lists public dashboards that show what is happening on the Stellar network. Every dashboard here can be opened in a browser without an account, though some platforms offer extra views to signed-in users. Most are built and maintained by third parties, not SDF, so refresh cadence and methodology vary by platform.
8+
9+
If you want to run your own queries against the underlying data instead, see [Hubble](./hubble/README.mdx) or the [Data Analytics Providers](./analytics-providers/analytics-providers.mdx) page. For looking up a specific transaction, account, or contract, use a [block explorer](../../tools/developer-tools/block-explorers.mdx).
10+
11+
## Network Overview
12+
13+
Chain-level activity: transactions, operations, accounts, fees, and comparisons with other networks.
14+
15+
| Dashboard | Published by | What it shows |
16+
| --- | --- | --- |
17+
| [Stellar Network](https://dashboard.stellar.org) | SDF | Real-time network liveness for developers and validators: ledger close times, transaction throughput, and testnet status. The first place to check during a protocol upgrade. |
18+
| [Stellar on Dune](https://dune.com/blockchains/stellar) | Dune | Entry point to Dune's Stellar datasets and community dashboards. Best when you want to fork a query or build your own chart. |
19+
| [Stellar Ecosystem Portal](https://stellar.messari.io) | Messari | Metrics alongside research reports, news, and ecosystem project profiles. Aimed at investors and analysts who want context, not just charts. |
20+
| [Stellar on Artemis](https://app.artemis.xyz/project/stellar) | Artemis | Fees, revenue, active addresses, and TVL in a standard format for comparing Stellar against other chains. |
21+
| [Stellar on Token Terminal](https://tokenterminal.com/explorer/projects/stellar) | Token Terminal | Financial statement style metrics for Stellar. Useful for analysts benchmarking Stellar with the same definitions Token Terminal applies to every chain. |
22+
| [Stellar Cross-Chain Explorer](https://stellar.range.org) | Range | Cross-chain transfers into and out of Stellar at the transaction level, with bridge hops and counterparties. For compliance and bridge users. |
23+
| [Stellar on DappRadar](https://dappradar.com/chain/stellar) | DappRadar | Dapp discovery and usage rankings. Best for finding which Soroban apps have users. |
24+
25+
## Real-World Assets and Stablecoins
26+
27+
Tokenized assets, stablecoin supply, and related transaction volume on Stellar.
28+
29+
| Dashboard | Published by | What it shows |
30+
| --- | --- | --- |
31+
| [RWAs on Stellar](https://dune.com/stellar/rwas) | SDF | SDF's own view of tokenized assets and stablecoins on Stellar. Lists assets as they launch on Stellar, including ones not yet tracked by rwa.xyz. |
32+
| [Stellar on rwa.xyz](https://app.rwa.xyz/networks/stellar) | rwa.xyz | Tokenized asset value on Stellar by asset class and issuer, using the same vetted methodology rwa.xyz applies to every network. Useful for comparing Stellar's RWA footprint with other networks on a like-for-like basis. |
33+
34+
## DeFi and Lending
35+
36+
Total value locked, protocol activity, and lending metrics for Soroban-based protocols.
37+
38+
| Dashboard | Published by | What it shows |
39+
| --- | --- | --- |
40+
| [Stellar on DefiLlama](https://defillama.com/chain/stellar) | DefiLlama | TVL by protocol on Stellar, with history. The TVL figure most commonly cited in third-party research. |
41+
| [Blend Protocol Analytics](https://dune.com/stellar/blend-protocol-analytics) | SDF | SDF-maintained view of Blend lending pools: TVL, supply and borrow, utilization, and volume. Currently the one dashboard here focused on a single Soroban protocol. |

docs/data/apis/README.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Learn about the services that provide access to real-time Stellar network data
1313
| Transaction Simulation |||
1414
| Curated and Parsed Data |||
1515

16-
\*_Please note that Horizon can provide full historical data but is not the recommended tool for full historical data access. Please use [Hubble](../analytics/hubble/README.mdx) or [Galexie](../indexers/build-your-own/galexie/README.mdx) instead._
16+
\*_Horizon can provide full historical data if you run your own instance, but it is not the recommended tool for that. Use [Hubble](../analytics/hubble/README.mdx) or [Galexie](../indexers/build-your-own/galexie/README.mdx) instead. For a side-by-side comparison of all four SDF data products, see [Compare Data Products](../README.mdx#compare-data-products)._
1717

1818
## [RPC](./rpc/README.mdx)
1919

docs/tokens/usdt0-layerzero.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ description: "Use USDT0, Tether's USDT delivered over LayerZero's OFT standard,
1111

1212
On Stellar, USDT0 is a **classic asset with a SAC**. Classic flows use a trustline plus a payment. Soroban contracts call the SAC. See the [tokenization model comparison](./anatomy-of-an-asset.mdx#tokenization-model-comparison) for what that implies.
1313

14+
For an overview of what USDT0 unlocks on Stellar, the partners supporting it today, and a deployment checklist, see the [USDT0 on Stellar launch guide](pathname:///launch/usdt0).
15+
1416
:::info[Full documentation]
1517

1618
For the architecture, the OFT interface, supported chains, and the transfer UI:

docusaurus.config.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,25 @@ const config: Config = {
154154
googleTagManager: {
155155
containerId: "GTM-M2JLH37",
156156
},
157+
sitemap: {
158+
// Files under static/ bypass the Docusaurus build, so pages served
159+
// from there never appear in the generated sitemap. /launch/usdt0 is
160+
// a permanent page and was invisible to crawlers without this.
161+
createSitemapItems: async ({
162+
defaultCreateSitemapItems,
163+
...rest
164+
}) => {
165+
const items = await defaultCreateSitemapItems(rest);
166+
return [
167+
...items,
168+
{
169+
url: `${rest.siteConfig.url}/launch/usdt0`,
170+
changefreq: "weekly",
171+
priority: 0.5
172+
},
173+
];
174+
},
175+
},
157176
} satisfies Preset.Options,
158177
],
159178
],

routes.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@
280280
/docs/data/analytics/hubble/developer-guide/visualization
281281
/docs/data/analytics/hubble/developer-guide/visualization/getting-started
282282
/docs/data/analytics/hubble/developer-guide/visualization/overview
283+
/docs/data/analytics/public-dashboards
283284
/docs/data/apis
284285
/docs/data/apis/horizon
285286
/docs/data/apis/horizon/admin-guide

0 commit comments

Comments
 (0)