-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(docs): Add Typescript SDK examples #3566
Conversation
✅ Vercel Preview Deployment is ready! |
Could you already import the examples into the docs pages where the code snippets are already there for the Rust side? |
✅ Vercel Preview Deployment is ready! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pls, check that all inline comments in the TS code are similar to the Rust code. I only highlighted the address-unlock-condition
ones.
docs/content/developer/stardust/claiming/address-unlock-condition.mdx
Outdated
Show resolved
Hide resolved
docs/examples/typescript/src/stardust/address-unlock-condition.ts
Outdated
Show resolved
Hide resolved
docs/examples/typescript/src/stardust/address-unlock-condition.ts
Outdated
Show resolved
Hide resolved
✅ Vercel Preview Deployment is ready! |
✅ Vercel Preview Deployment is ready! |
✅ Vercel Preview Deployment is ready! |
✅ Vercel Preview Deployment is ready! |
0de4d2b
to
1e1c0db
Compare
✅ Vercel Preview Deployment is ready! |
Description of change
This PR contains the typescript equivalents of the rust sdk examples. The purpose of this PR is to receive preliminary feedback on the current typescript examples, to ensure it aligns with best practices for the rest of the examples belonging to this issue.
Links to any relevant issues
fixes #3176
Type of change
Choose a type of change, and delete any options that are not relevant.
How the change has been tested
Describe the tests that you ran to verify your changes.
Make sure to provide instructions for the maintainer as well as any relevant configurations.
Change checklist
Tick the boxes that are relevant to your changes, and delete any items that are not.