Repository navigation
Added code blocks - #13
Merged
Merged
Conversation
kalepail
added a commit
that referenced
this pull request
Sep 1, 2022
* update some docs links * update welcome page * added fundamentals and concepts and deleted old start directory * new tools and sdks docs * new glossary * glossary -> encyclopedia * updated encyclopedia * Added code blocks (#10) * Added code blocks Please look at why it won't tab out the code blocks! * added json5 and missing python library Co-authored-by: Tyler van der Hoeven <[email protected]> * Added code blocks (#13) * Added missing information to operations (#11) * Added missing information to operations Including: LPs, clawbacks, claimable balances * Update list-of-operations.mdx Co-authored-by: Tyler van der Hoeven <[email protected]> * Added code blocks (#14) * delete some dupe content * Added code blocks (#15) * Added code blocks Please look at why it won't tab out the code blocks! * added json5 and missing python library * Added code blocks * spaces matter apparently * nvm Co-authored-by: Tyler van der Hoeven <[email protected]> * Added code blocks (#16) * Added code blocks & missing link (#17) * Added code block (#20) * Added code blocks, edited some content (#22) Removed Example 5 (to be added later) * spacing tweaks * Added code blocks (#21) * omit CodeExample block on non code blocks * Added code blocks (#18) * Added code blocks * encyclopedia * space tweak Co-authored-by: Tyler van der Hoeven <[email protected]> * Added code blocks (#19) * Added code blocks * removed some spaces Co-authored-by: Tyler van der Hoeven <[email protected]> * missed a couple imports * glossary -> encyclopedia * lint * format mdx * no cache on the make * case fix step 1 * case fix step 2 * fixed a link * added another link from the hash * Update sponsored-reserves.mdx * Glossary-Encyclopedia network passphrases * Anchoring assets-xborder payments links * Update setting-up-test-server.mdx * Update withdraw-anchored-assets.mdx * Update custom-assets.mdx * Update first-deposit.mdx * Update project-setup.mdx * Update setup-custodial-account.mdx * Update anatomy-of-an-asset.mdx * Update control-asset-access.mdx * Issuing assets - control asset access * Issuing assets - publishing asset info * run core node - configuring links * Update monitoring.mdx * Tutorials - create account * Update setting-up-production-server.mdx * tutorials - follow received payments links * tutorials - send and receive payments links * run a core node - index links * Added community (#25) Add and update community channels * link tweaks * couple more tweaks * glossary links * issuing assets - anatomy of an asset link * encyclopedia - claimable balance links * encyclopedia - error handling links * encyclopedia - fee bump links * Update fees-surge-pricing-fee-strategies.mdx * Update ledger-headers.mdx * encyclopedia - flags links * Update claimable-balances.mdx * Update error-handling.mdx * Update fee-bump-transactions.mdx * encyclopedia - liquidity on stellar links * encyclopedia - memos links * encyclopedia - path payments links * encyclopedia - pooled accounts links * encyclopedia - signatures and multisig links * encyclopedia - sponsored reserves links * fundamentals & concepts - data strctr - accts links * f&c - data structures - assets links * f&c - data structures - ledgers links * f&c - data structures - operations & transactions links * f&c - operations links * f&c - lumens links * f&c - testnet&pubnet links * updated link in pooled accounts * added sdk library link * minor link tweaks * minor styling update for h4s * oops * updates * Added run a core node link * Remove link to Lumens, not relevant anymore * Fixed a couple of links (#26) Removed .mdx from two links to testnet/pubnet section * Removed unnecessary ) * Added claimable balances link * fix issuing assets link * fixed sep1 link * fixed links to info file and issuing assets * attempt at the first 302 * move nginx conf stuff around * Update redirects.conf * Update redirects.conf * Update nginx.conf * Update nginx.conf * try that? * Update redirects.conf * added SCP link & run api server link * Update redirects.conf * no need for this block * Updating footer (#27) * Updating footer Change developers-community and add community links All tools to link to dev docs tools page Remove get started from resources * update footer content Co-authored-by: Tyler van der Hoeven <[email protected]> * noop * Changed links to tables for parameters&errors * Incorporating a few suggestions to the new docs. (#28) * Small improvements to link naming and math rendering * add KaTeX * Change math to use TeX * don't update this Co-authored-by: Tyler van der Hoeven <[email protected]> * tiny lint tweaks * Update list-of-operations.mdx * updated table links * Updating ledgerkey definition (#29) * move Lumens under the Stellar Data Structures directory Co-authored-by: Bri <[email protected]> Co-authored-by: George <[email protected]>
kalepail
added a commit
that referenced
this pull request
Feb 23, 2023
* reorder the docs content as well as add basic /api route * slight linting stuff * ran mdx linter * little lint fix * noop * update some docs links * update welcome page * added fundamentals and concepts and deleted old start directory * new tools and sdks docs * new glossary * glossary -> encyclopedia * updated encyclopedia * Added code blocks (#10) * Added code blocks Please look at why it won't tab out the code blocks! * added json5 and missing python library Co-authored-by: Tyler van der Hoeven <[email protected]> * Added code blocks (#13) * Added missing information to operations (#11) * Added missing information to operations Including: LPs, clawbacks, claimable balances * Update list-of-operations.mdx Co-authored-by: Tyler van der Hoeven <[email protected]> * Added code blocks (#14) * delete some dupe content * Added code blocks (#15) * Added code blocks Please look at why it won't tab out the code blocks! * added json5 and missing python library * Added code blocks * spaces matter apparently * nvm Co-authored-by: Tyler van der Hoeven <[email protected]> * Added code blocks (#16) * Added code blocks & missing link (#17) * Added code block (#20) * Added code blocks, edited some content (#22) Removed Example 5 (to be added later) * spacing tweaks * Added code blocks (#21) * omit CodeExample block on non code blocks * Added code blocks (#18) * Added code blocks * encyclopedia * space tweak Co-authored-by: Tyler van der Hoeven <[email protected]> * Added code blocks (#19) * Added code blocks * removed some spaces Co-authored-by: Tyler van der Hoeven <[email protected]> * missed a couple imports * glossary -> encyclopedia * lint * format mdx * no cache on the make * case fix step 1 * case fix step 2 * fixed a link * added another link from the hash * Update sponsored-reserves.mdx * Update docusaurus.config.js * Glossary-Encyclopedia network passphrases * Anchoring assets-xborder payments links * Update setting-up-test-server.mdx * Update withdraw-anchored-assets.mdx * Update custom-assets.mdx * Update first-deposit.mdx * Update project-setup.mdx * Update setup-custodial-account.mdx * Update anatomy-of-an-asset.mdx * Update control-asset-access.mdx * Issuing assets - control asset access * Issuing assets - publishing asset info * run core node - configuring links * Update monitoring.mdx * Tutorials - create account * Update setting-up-production-server.mdx * tutorials - follow received payments links * tutorials - send and receive payments links * run a core node - index links * Added community (#25) Add and update community channels * link tweaks * couple more tweaks * glossary links * issuing assets - anatomy of an asset link * encyclopedia - claimable balance links * encyclopedia - error handling links * encyclopedia - fee bump links * Update fees-surge-pricing-fee-strategies.mdx * Update ledger-headers.mdx * encyclopedia - flags links * Update claimable-balances.mdx * Update error-handling.mdx * Update fee-bump-transactions.mdx * encyclopedia - liquidity on stellar links * encyclopedia - memos links * encyclopedia - path payments links * encyclopedia - pooled accounts links * encyclopedia - signatures and multisig links * encyclopedia - sponsored reserves links * fundamentals & concepts - data strctr - accts links * f&c - data structures - assets links * f&c - data structures - ledgers links * f&c - data structures - operations & transactions links * f&c - operations links * f&c - lumens links * f&c - testnet&pubnet links * updated link in pooled accounts * added sdk library link * minor link tweaks * minor styling update for h4s * updates * oops * updates * Update docusaurus.config.js * Merging Personal Fork into API-Content Branch (#38) * Don't merge #1 * Finishing Account Schema * TransactionSchemaUpdate * Server Update * Finished Account Copy * Documenting Retrieve Account Response * Documenting Account Responses #2 * Learned how to bundle api * Trades & Offers * Base Asset Update * Adding Ledger Endpoint * Adding Ledger Endpoint * Operations Objects * Hmm the page is broken? * package updates * might allow the previews to build? * nope, nice try though * that * maybe that? * shruggers * Adding CB, LP, OB * Last Endpoints FS TA * Fixed Environment * Fixed Environment * Migrate components * Add config and update dependencies * Add swizzled layout * Add api content and build spec pages * streaming endpoints, Renaming OperationID, sidebar * Setup sidebar generator for api * Generate api docs and migrate index/object pages * Add streaming hints * Remove padding from pagination * Handle data types with skip * Adding All Examples , Replacing Casing, Update Par * Updating Broken API links & Fixing Sidebar * Resource Links Updated, Category Jsons fixed * Add all operation objects * noop * noop * attempt at a tweak for the nginx * maybe * Updating Broken Links * Fixing Broken Links. Adding redirects * Delete _category_.json * remove those for now * serve /api/introduction at /api * redirect root to /docs * maybe * /shrug * uno mas * fix a broken link * few more link updates and fix the yarn.lock error * don't lint while running CI * throw on broken links * minor update to openapi-docs plugin --------- Co-authored-by: Bri <[email protected]> Co-authored-by: Taylor-at-Stellar <[email protected]> Co-authored-by: Taylor-at-steller <[email protected]> Co-authored-by: Jesmar Castillo <[email protected]>
ElliotFriend
pushed a commit
that referenced
this pull request
Sep 8, 2026
* Update Verify Trustlines guide to use RPC instead of Horizon Removes the Horizon section and rebuilds the RPC section around the modern JS SDK helpers. - Delete "Checking a Trustline through the Horizon API" entirely, matching the sibling migrations (#1769, #1779, #1784, #1786, #1793). - Split the RPC section in two: `getAssetBalance` for existence and authorization, `getLedgerEntries` for the trustline limit (which `getAssetBalance` does not surface). - Use the public `getLedgerEntries` instead of the private `_getLedgerEntries`, which also drops the manual `xdr.LedgerEntryData.fromXDR` step since `entries[].val` is already decoded. - Fix a correctness bug: trustline flags are a bitfield, so `flags() !== 1` wrongly reported an authorized, clawback-enabled trustline (flags = 5) as unauthorized. Now checks `flags() & 1`. - Replace the hardcoded receiver, which 404s on Testnet after a reset, with a placeholder plus guidance on creating one. - SAC section: `authorized` does not return false for a missing trustline — the simulation fails with Error(Contract, #13) — so document which branch handles which case. Also point the bindings command at ./sac so the generated package name matches the `import { Client } from "sac"` below it, and drop a leftover commented-out transfer block. - Link to the official Migrate from Horizon to RPC page, which documents that RPC does not return trustlines alongside accounts. All snippets were run against Testnet with @stellar/stellar-sdk 16.2.0, covering the missing-trustline, authorized, and insufficient-limit paths. Fixes #1743 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> * Address review: fix int64 precision and error conflation - Keep trustline limit arithmetic in BigInt stroops. Converting int64 amounts through Number loses precision above 2^53-1, and trustline limits routinely sit at the int64 maximum (922,337,203,685.4775807). The old Number path falsely rejected valid payments: with a limit at the maximum and 1000 stroops of headroom, sending 0.0001 was reported as exceeding the limit. Adds a `toStroops` helper so the amount to send is converted without going through a float, and links the Amount precision reference. - Drop the same Number conversion from the getAssetBalance snippet and report `amount` as the stroops string the SDK returns. - Stop reporting every getAssetBalance failure as "trustline not found". The SDK's getTrustline swallows the underlying error and always throws the same "not found" message, so an unreachable RPC endpoint is indistinguishable from a genuinely missing trustline. The example now rethrows the original error and says "could not confirm", and a warning documents the caveat and points at getLedgerEntries, which returns an empty entries array for a missing trustline and only rejects on a transport error. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> --------- Co-authored-by: Wlad Mendes <[email protected]> Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.