docs(tutorials): sync to Evo SDK 4.0.0-rc.2 and document token-burn scarcity#152
Conversation
-Bump to Evo SDK v4.0-rc.2 (3.1 was renamed 4.0) and Node 22. -Add the DashMint token-cost flow: a fixed-supply token configuration burned on card create, with creationRestrictionMode opened to anyone who can pay the token cost. - Add note update revision checking, raise the withdrawal amount to the protocol minimum, and drop the obsolete note message maxLength.
Add a token flow section and Transfer DashMint tokens walkthrough to DashMint Lab, register both blocks in the sync map, and align the intro, TL;DR, and contract-schema prose with token-gated minting. For Dashnote, restructure the update-note steps, note the expectedRevision guard, fix the message maxLength description, and bump the Node prerequisite to 22. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
thephez
left a comment
There was a problem hiding this comment.
@coderabbitai review
Summary
Re-syncs the tutorial docs to
platform-tutorialsafter its Evo SDK 4.0.0-rc.2 upgrade (PRs dashpay/platform-tutorials#95, dashpay/platform-tutorials#96) and documents the DashMint Lab token-burn scarcity model introduced with the new SDK.SDK 4.0.0-rc.2 sync
EvoSDK.*Trusted({ version }),document.toJSON(version), DashMint token-gated minting, and the Dashnote concurrent-edit check._static/*-lite.htmlcompanions to@dashevo/evo-sdk@4.0.0-rc.2.1000000n).introduction.md,connecting-to-testnet.md, and both example-app pages.DashMint token-burn scarcity
The SDK-4.0 DashMint Lab gates minting on burning a fixed-supply token, which was previously only visible in code comments. This documents it:
dashMintToken.tsandtransferDashMintTokens.ts.tutorial-code-map.ymlso they stay in sync (now 48/48 mappings).creationRestrictionModeis0with scarcity enforced bytokenCost.create.Dashnote cleanup
expectedRevisionconcurrent-edit guard.messagemaxLengthdescription (the field is no longer length-capped).Verification
python3 scripts/tutorial-sync/sync_tutorial_code.py --check --source <platform-tutorials>→ 48 matched, 0 drifted.Preview build: https://dash-docs-platform--152.org.readthedocs.build/en/152/