Skip to content

docs(tutorials): migrate to evo sdk#133

Merged
thephez merged 18 commits intodashpay:developfrom
thephez:feat/v3-evo-sdk-tutorials
Mar 5, 2026
Merged

docs(tutorials): migrate to evo sdk#133
thephez merged 18 commits intodashpay:developfrom
thephez:feat/v3-evo-sdk-tutorials

Conversation

@thephez
Copy link
Collaborator

@thephez thephez commented Mar 3, 2026

Summary

Migrate existing tutorials from the legacy dash JS SDK to @dashevo/evo-sdk. This is a large-scale rewrite covering 24 files across every tutorial section.

Key changes

  • SDK setup: Complete rewrite of setup-sdk-client.md introducing the consolidated setupDashClient() helper with IdentityKeyManager, AddressKeyManager, and clientConfig exports
  • Foundation: Migrate connecting-to-testnet, create-and-fund-a-wallet (bech32m platform addresses, bridge.thepasta.org faucet), and introduction/prerequisites
  • Identities & Names: Migrate register identity, retrieve identity, register name, and retrieve name (3 tabs with real testnet example data). Add out-of-date admonitions to 5 tutorials not yet fully tested (topup, withdraw, update, transfer credits, retrieve account identities)
  • Contracts: Migrate all 4 tutorials — register (6 schema tabs), retrieve, update, and history
  • Documents: Migrate all 4 tutorials — submit, retrieve, update, and delete
  • Cross-cutting: ESM imports, BigInt amounts, Map iteration for query results, flat try/catch pattern, .mjs captions, removed client.disconnect() / proof warnings / old faucet references

Preview build: https://dash-docs-platform--133.org.readthedocs.build/en/133/

… SDK

- Replaced old dash SDK references with @dashevo/evo-sdk patterns including EvoSDK.testnetTrusted(), try/catch error handling, and .toJSON() output.
- Simplified devnet section to local-only since WASM SDK doesn't support
remote devnets.
- Remove outdated proof security warning from introduction.
@coderabbitai
Copy link

coderabbitai bot commented Mar 3, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 23fc5408-dd72-466b-bf2f-ad717aa5013f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

thephez added 5 commits March 3, 2026 16:33
Replace old Dash.Client wallet generation with Evo SDK wallet utilities, BIP44 derivation paths, and bech32m platform addresses. Update faucet link to Core -> Platform bridge.
Add clientConfig, dotenv support, setupDashClient() convenience wrapper, and full JSDoc to match the platform-tutorial-testing reference. Users now configure network and mnemonic in one place.
@thephez thephez force-pushed the feat/v3-evo-sdk-tutorials branch from 9caec06 to 386f3ac Compare March 4, 2026 16:53
@thephez thephez marked this pull request as ready for review March 5, 2026 21:28
@thephez thephez merged commit 5dc2f45 into dashpay:develop Mar 5, 2026
1 check passed
@thephez thephez deleted the feat/v3-evo-sdk-tutorials branch March 5, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant