docs: add browser, node, and nextjs examples#49
Draft
darioAnongba wants to merge 2 commits intomainfrom
Draft
Conversation
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.
Description
Closes #23.
This PR adds ready-to-copy onboarding examples for the published JavaScript packages:
examples/browser-vitefor a minimal browser wallet setup with Viteexamples/node-walletfor descriptor-based wallet creation, Esplora sync, PSBT signing, and transaction broadcast in Node.jsexamples/nextjsfor the client-only loading pattern inside a Next.js appexamples/README.mdas the landing page for safety notes and example selectionCHANGELOG.mdentry under[Unreleased]It also hardens CI by retrying the
wasm-packdownload step in the GitHub workflows after repeated HTTP 504 failures from GitHub's release endpoint.Notes to the reviewers
cargo fmt --check,cargo clippy --all-features --all-targets -- -D warnings,cargo test --all-features, andcorepack yarn lint.wasm-packdownload step.Changelog notice
Added an
examples/directory with browser (Vite), Node.js, and Next.js tutorials, plus README links for quicker onboarding.Checklists
All Submissions:
cargo fmtandcargo clippybefore committingNew Features:
Bugfixes: