You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update all Stellar How-To guides to use RPC instead of Horizon #1529
changed the title [-]Update all Stellar Basics guides to use RPC instead of Horizon[/-][+]Update all Stellar How-To guides to use RPC instead of Horizon[/+]on Sep 9, 2025
I'm wrapping up a few code example translations (from JS), which were touched by @karthikiyer56's first 2 PRs, before my own merging. What's the inspiration for moving to RPCs over Horizon?1 I've only built with Horizon for the past four years, and I love how it lowers the bar to experimenting with new users, as shown by the API guides with call builders in the form of a composable URL.
Footnotes
I mean, I understand maybe fundamentally what we're getting at here, but I think it's worth spelling it out for a more open conversation rather than a stark "We'd like to "—with every bit of due respect. I've seen a lot of this blunt directive diction in early SDF GitHub developments, but I don't think it makes a ton of sense nowadays as we expand open-sourcing decentralization efforts. ↩
It’s fair criticism that I should have included more context in the issue description. More broadly, the Horizon → RPC shift is something we need to communicate and discuss more openly than we have so far, and our team will make that a near-term priority.
The shift is driven by the same goals you mentioned—strengthening decentralization and encouraging open-source contributions. SDF has historically run a free, public version of Horizon, and this means we've effectively cut the ecosystem off at it's knees from a decentralization perspective; most of the entire ecosystem is centralized around a single service that SDF hosts. Our truncation announcement included some of this context.
That naturally raises the question: why not simply stop hosting Horizon instead of deprecating it? In practice Horizon is extremely hard and expensive to operate. Even companies that typically run their own RPC nodes on other chains often can’t justify running Horizon, so they depend on third-party infrastructure providers. Those providers, in turn, are disincentivized from supporting Horizon because of how much it costs to run and the fact that the market is almost nonexistent due to SDF providing a free one (which is why SDF choose not to host a free pubnet Stellar RPC instance). These problems will only be exacerbated when the TPS of the network is increased significantly in the coming years.
Why not just make Horizon cheaper or easier to run? Its broad functionality is both its strength (why end-users love it) and its challenge. Horizon functions more like a full-featured indexer or backend API than a standard blockchain RPC node. This has trained developers to rely on it as their application backend rather than managing or parsing their own data, which further dampens decentralization. For example, if Horizon hadn’t provided a path-finding endpoint or built-in account/offer indexing, independent projects might have emerged to fill those gaps. In fact, no major indexers appeared until Smart Contracts arrived—largely because Horizon itself doesn’t support them—illustrating how Horizon’s very existence has stifled competition.
Stellar RPC, by contrast, deliberately offers a minimal API aligned with cross-chain standards. This encourages developers and companies to differentiate themselves and removes the dynamic where they’re effectively competing with SDF for users.
🤖 Automated message from Kaan's Automated Triage Bot.
Decision needed: does this epic close when PR #2760 merges, or does it grow to cover the guides that never got a sub-issue?
The scoped work is nearly done. Of the 11 sub-issues, 10 are closed as completed.
Only #1743 (Verify Trustlines) is open. @wmendes is assigned and PR #2760 is open. @sreuland handed that issue off on 2026-07-13. So no work waits on this epic.
I scanned every page under docs/build/guides for Horizon (2026-09-07). Three pages sit outside the sub-issue list:
transactions/path-payments.mdx is the real gap. It runs entirely on Horizon: Horizon.Server, loadAccount and submitTransaction. It never got a sub-issue. It uses no path finding, so RPC can serve it. PR Add path payment example #1636 added those snippets in 2025.
transactions/send-and-receive-c-accounts.mdx teaches Horizon and RPC side by side on purpose. That is a scope choice, not a leftover.
Six other pages mention Horizon correctly: basics/classic-transition.mdx (the page is about the move), basics/automate-reset-data.mdx (Horizon in a list of services that testnet resets clear), transactions/signing-soroban-invocations.mdx (a warning against Horizon URLs), and three pages whose Lab deep links carry a horizonUrl parameter.
Add a sub-issue for path-payments.mdx and hold the epic open. The bot can write that migration in JavaScript, the only language the page uses today.
Also settle the Horizon half of send-and-receive-c-accounts.mdx. Options 1 and 2 both leave that page as it is.
One note, so nobody does it twice. path-payments.mdx line 77 calls SERVER.submitTransaction, and SERVER is undefined. Issue #2562 already lists that fix and @oceans404 is assigned, so I left it alone.
Activity
[-]Update all Stellar Basics guides to use RPC instead of Horizon[/-][+]Update all Stellar How-To guides to use RPC instead of Horizon[/+]JFWooten4 commentedon Sep 23, 2025
I'm wrapping up a few code example translations (from JS), which were touched by @karthikiyer56's first 2 PRs, before my own merging. What's the inspiration for moving to RPCs over Horizon?1 I've only built with Horizon for the past four years, and I love how it lowers the bar to experimenting with new users, as shown by the API guides with call builders in the form of a composable URL.
Footnotes
I mean, I understand maybe fundamentally what we're getting at here, but I think it's worth spelling it out for a more open conversation rather than a stark "We'd like to "—with every bit of due respect. I've seen a lot of this blunt directive diction in early SDF GitHub developments, but I don't think it makes a ton of sense nowadays as we expand open-sourcing decentralization efforts. ↩
mollykarcher commentedon Sep 23, 2025
It’s fair criticism that I should have included more context in the issue description. More broadly, the Horizon → RPC shift is something we need to communicate and discuss more openly than we have so far, and our team will make that a near-term priority.
The shift is driven by the same goals you mentioned—strengthening decentralization and encouraging open-source contributions. SDF has historically run a free, public version of Horizon, and this means we've effectively cut the ecosystem off at it's knees from a decentralization perspective; most of the entire ecosystem is centralized around a single service that SDF hosts. Our truncation announcement included some of this context.
That naturally raises the question: why not simply stop hosting Horizon instead of deprecating it? In practice Horizon is extremely hard and expensive to operate. Even companies that typically run their own RPC nodes on other chains often can’t justify running Horizon, so they depend on third-party infrastructure providers. Those providers, in turn, are disincentivized from supporting Horizon because of how much it costs to run and the fact that the market is almost nonexistent due to SDF providing a free one (which is why SDF choose not to host a free pubnet Stellar RPC instance). These problems will only be exacerbated when the TPS of the network is increased significantly in the coming years.
Why not just make Horizon cheaper or easier to run? Its broad functionality is both its strength (why end-users love it) and its challenge. Horizon functions more like a full-featured indexer or backend API than a standard blockchain RPC node. This has trained developers to rely on it as their application backend rather than managing or parsing their own data, which further dampens decentralization. For example, if Horizon hadn’t provided a path-finding endpoint or built-in account/offer indexing, independent projects might have emerged to fill those gaps. In fact, no major indexers appeared until Smart Contracts arrived—largely because Horizon itself doesn’t support them—illustrating how Horizon’s very existence has stifled competition.
Stellar RPC, by contrast, deliberately offers a minimal API aligned with cross-chain standards. This encourages developers and companies to differentiate themselves and removes the dynamic where they’re effectively competing with SDF for users.
💱 Maintain Horizon for indexing
kaankacar commentedon Sep 7, 2026
🤖 Automated message from Kaan's Automated Triage Bot.
I am looking at this issue now. I will report what I find.
kaankacar commentedon Sep 7, 2026
🤖 Automated message from Kaan's Automated Triage Bot.
Decision needed: does this epic close when PR #2760 merges, or does it grow to cover the guides that never got a sub-issue?
The scoped work is nearly done. Of the 11 sub-issues, 10 are closed as completed.
Only #1743 (Verify Trustlines) is open. @wmendes is assigned and PR #2760 is open. @sreuland handed that issue off on 2026-07-13. So no work waits on this epic.
I scanned every page under
docs/build/guidesfor Horizon (2026-09-07). Three pages sit outside the sub-issue list:transactions/path-payments.mdxis the real gap. It runs entirely on Horizon:Horizon.Server,loadAccountandsubmitTransaction. It never got a sub-issue. It uses no path finding, so RPC can serve it. PR Add path payment example #1636 added those snippets in 2025.transactions/send-and-receive-c-accounts.mdxteaches Horizon and RPC side by side on purpose. That is a scope choice, not a leftover.transactions/create-account.mdxline 9 still sends readers to "inspect responses from Horizon via the Endpoint Explorer". Sub-issue Update Create Account Guide to use RPC instead of Horizon #1741 migrated the code below that line.Six other pages mention Horizon correctly:
basics/classic-transition.mdx(the page is about the move),basics/automate-reset-data.mdx(Horizon in a list of services that testnet resets clear),transactions/signing-soroban-invocations.mdx(a warning against Horizon URLs), and three pages whose Lab deep links carry ahorizonUrlparameter.Options:
path-payments.mdxon its own.path-payments.mdxand hold the epic open. The bot can write that migration in JavaScript, the only language the page uses today.send-and-receive-c-accounts.mdx. Options 1 and 2 both leave that page as it is.One note, so nobody does it twice.
path-payments.mdxline 77 callsSERVER.submitTransaction, andSERVERis undefined. Issue #2562 already lists that fix and @oceans404 is assigned, so I left it alone.@kaankacar @ElliotFriend please pick an option.