Commit 5eaddb0
feat: migrate tutorials from js-dash-sdk to evo-sdk (#53)
* feat: add evo-sdk tutorials for read-only operations
Add evo-sdk tutorial examples for identities, names, contracts, and documents. Includes setupEvoClient helper for configuration and 5 working examples.
* refactor: make output consistent and init client right away
* style: npm fmt
* feat: add more tutorials
* feat: add working credit transfer tutorial
Also updates .env.example to include TRANSFER_KEY_WIF
* feat: add working identity credit withdrawal
* chore: update evo sdk to latest release
* feat: add name registration and document tutorials
* docs: update .env.example with recently added vars
* feat: add minimal contract registration tutorial
* feat: add contract update tutorial
* feat: create nft contract tutorial
* feat: add some nft-related tutorials
* feat: remaining nft tutorials and env.example updates
* chore: update evo-sdk dependency
* chore: update to evo sdk 3.1-dev.1
* feat: add evo sdk client setup and identity register tutorial
* feat: migrate identity-retrieve and document-submit to evo-sdk ESM
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs: add links to tutorial docs pages
* feat: migrate document-retrieve and document-delete to evo-sdk ESM
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat: migrate document update to evo sdk
* fix: add bug workaround to identity create
* feat: migrate contracts tutorials to evo-sdk ESM
Migrate all contract register/retrieve/update tutorials from legacy
js-dash-sdk (CJS) to evo-sdk (ESM). Adds new variants (binary,
indexed, timestamps, history-retrieve) and works around
sdk.contracts.fetch() returning undefined for keepsHistory contracts
(dashpay/platform#3165).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* chore: delete old sdk tutorials
* feat: migrate connect and create-wallet to evo-sdk ESM
Replace legacy js-dash-sdk CJS scripts (connect.js, create-wallet.js,
setupDashClient.js) with evo-sdk ESM equivalents. Add .local/ to
.gitignore.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat: migrate DPNS name tutorials to evo-sdk
Migrate name-register, name-resolve, name-search, and name-get-identity-names from legacy js-dash-sdk (CJS) to evo-sdk (ESM).
Add friendly error for duplicate name registration attempts.
* chore: trivial updates
* chore: remove outdated files
* chore: whitespace cleanup
* feat: migrate identity topup, transfer, and withdrawal to evo-sdk
Replace legacy js-dash-sdk CJS scripts with evo-sdk ESM equivalents.
Add env var overrides for recipient ID and withdrawal address with
sensible testnet defaults.
* feat: add identity update tutorials (add-key, disable-key) for evo-sdk
Add evo-sdk ESM tutorials for adding and disabling identity keys.
Add-key auto-detects next available key ID and uses exported
dip13KeyPath helper instead of manual path construction.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* chore: remove unneeded files
* chore: remove outdated files
* style: npm fmt updates
* docs: update README
* chore: typo fix
* docs: update readme
* docs: readme update
* chore: remove old dash sdk from package.json
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent f811e1b commit 5eaddb0
57 files changed
Lines changed: 1873 additions & 6969 deletions
File tree
- 1-Identities-and-Names
- 2-Contracts-and-Documents
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
0 commit comments