Repository navigation
docs(chains): add Decred (MAG-5053) - #92
Merged
Merged
Conversation
lava-specs added dcr.json (Decred: DCR mainnet, DCRT testnet3, dcrd JSON-RPC). The card goes at the end of the L1 group, after Siacoin: the spec does not import BTC, and every card in the BTC group does. decred.svg is byte-identical to the dashboard's (MAG-5052). llms.txt's hand-written lava-specs file count goes from 157 to 158.
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.
This is the docs follow-up to the dashboard catalog resync (Magma-Devs/smart-router-dashboard#318). lava-specs added
dcr.jsonin Magma-Devs/lava-specs#186 (MAG-2961).DCR) and a testnet (testnet3,DCRT), and it serves dcrd's JSON-RPC only. dcrd descends from btcd and shares bitcoind's method names. It still goes in L1, not BTC: every card in the BTC group imports BTC (or DOGE, which imports BTC), anddcr.jsondeliberately does not. So it sits with Monero, Kaspa and Siacoin.decred.svgis byte-identical to the dashboard's. It is web3icons'tokens/mono/DCRglyph on#2970FF, and its provenance is in the dashboard's chain-icons README.llms.txtcounts fill fromchains-data.jsat build time and now read 150 chains: 144 with a mainnet, 135 with a testnet. The one hand-written count left, "157 chain specs" inllms.txt, counts lava-specs files and becomes 158.8715592has a card. No card links a file that is gone, and every card id has an SVG.Screenshots
The Supported chains page built from this branch, searched for "decred": its tile is highlighted between Siacoin and Bitcoin, and its one card shows Mainnet · Testnet and JSON-RPC.
Test plan
node --checkpasses onchains-data.js, and the file loads 150 rows. Dropping thedecredrow reproducesorigin/main's file byte for byte, so the one-line diff adds only that row.mkdocs build --strictis clean. The builtreference/chains/reads "150 chains: 144 with a mainnet and 135 with a testnet". The builtllms.txtreads "158 chain specs", with no{{ chains.* }}placeholder left.site/, the Decred tile renders between Siacoin and Bitcoin. Searching "decred" leaves one card, with its icon, Mainnet · Testnet, JSON-RPC, and a ↗ link todcr.json.#Closes MAG-5053
Jira ticket: MAG-5053