-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add rust client examples for light-token SDK #7
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
Merged
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
3202304 to
31c7176
Compare
tilo-14
commented
Jan 15, 2026
31c7176 to
f51fd06
Compare
tilo-14
commented
Jan 15, 2026
d97dcb2 to
fa941d2
Compare
13fa136 to
912ae0f
Compare
- Add mint_to_checked, transfer_checked, burn_checked instruction examples - Add action examples: approve, revoke, create_mint, create_ata, mint_to, transfer_checked, transfer_interface, wrap, unwrap - Restructure tests/ to examples-instructions/ and examples-actions/ - Add decimals field to SetupContext - Update README to match TypeScript client style
- Rename examples-actions → example-actions - Rename examples-instructions → example-instructions - Fix setup_for_unwrap to use Wrap action (SPL mints can't mint directly to Light ATAs) - Update Cargo.toml and README.md paths
- Remove verbose "using action API" / "using instruction API" from comments - Simplify setup comments to match instruction style - Rename transfer.rs -> transfer_interface.rs for consistency
- Merge TypeScript and Rust examples into unified list - Add all Rust-only examples (burn, freeze, thaw, close, etc.) - Update create_mint action to show TokenMetadata usage - Fix SDK compatibility: add token_metadata field, remove fee_payer - Fix rust-client README links and description
tilo-14
commented
Jan 23, 2026
tilo-14
commented
Jan 23, 2026
tilo-14
commented
Jan 23, 2026
tilo-14
commented
Jan 23, 2026
tilo-14
commented
Jan 23, 2026
tilo-14
commented
Jan 23, 2026
tilo-14
commented
Jan 23, 2026
tilo-14
commented
Jan 23, 2026
tilo-14
commented
Jan 23, 2026
tilo-14
commented
Jan 23, 2026
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.
59b6dfe to
00e384b
Compare
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.
|
looks like rust client tests are not part of ci |
The CI installed Photon at rev 1a78503 but `light test-validator` expects rev ac7df6c (v0.51.2). The mismatch prevented the indexer from starting, causing ECONNREFUSED on port 8784.
Replace git branch dependencies (jorrit/refactor-light-token-client) with published crates.io versions: - light-token 0.4.0 - light-token-interface 0.3.0 - light-token-client 0.1.0 - light-program-test 0.19.0 - light-client 0.19.0
ananas-block
approved these changes
Jan 30, 2026
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.
Summary
Test plan
cargo testin rust-client directory