You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Example files will not compile or run -- broken imports and APIs #481
Multiple example files have compilation/runtime errors:
examples/rust_client.rs:26 -- Uses Address::from_str(&env, ...) which does not exist in soroban_sdk. The correct method is Address::from_string(...). The entire file is non-functional (main body is just a println).
examples/javascript_client_example.js:4 -- Imports from stellar-sdk but the current package is @stellar/stellar-sdk. Will fail with MODULE_NOT_FOUND.
examples/cli_usage_examples.sh:4 -- Exports a placeholder STELLAR_SECRET_KEY="S..." that overwrites any existing env var. Sourcing this file destroys the user's actual key.
examples/javascript_client.js:229 -- Admin and learner use the same secret key, masking authorization issues in the example flow.
examples/rust_client_example.rs:2 -- Uses #![no_std] which is inappropriate for a client example (not a contract).
Why
Examples are the first thing new developers try. Broken examples create a terrible first impression and block adoption. The README points users to these files (line 781).
Scope
Fix each example:
rust_client.rs: Use correct Address::from_string API, or convert to a working example
javascript_client_example.js: Update import to @stellar/stellar-sdk
cli_usage_examples.sh: Remove the secret key export, use a placeholder comment instead
javascript_client.js: Use separate keypairs for admin and learner
rust_client_example.rs: Remove #![no_std]
Acceptance Criteria
Rust examples compile with cargo build --target wasm32-unknown-unknown
JavaScript examples have correct imports
CLI examples do not overwrite environment variables
@KingYuss has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
Hi maintainer, I am a Full-Stack and Web3 developer with 4+ years of experience. I have carefully read and understand the description of this issue, and I would like to take on this issue
@EmmanuelAjogu has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
Hi maintainer, I’d like to work on this issue. I’ll fix the broken APIs and imports across the listed Rust, JavaScript, and CLI examples, remove the secret-key overwrite, separate the admin and learner keypairs, and remove #![no_std] from the Rust client example. I’ll build the Rust examples, check the JavaScript imports, and verify the CLI example no longer overwrites an existing STELLAR_SECRET_KEY.
@dhikbass has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
Hello, I analyzed the problem and understand the expected changes. I'll ensure the implementation follows your project's structure and coding conventions.
I can take ownership of this task. I'll address Example files will not compile or run -- broken imports and APIs around examples/rust_client.rs and examples/rust_client_example.rs and make sure automated checks and CI workflows stay green. Would love to take this on — please assign!
Congratulations, @od-hunter! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.
🧑💻 @od-hunter: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
Warning
When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
😎 @od-hunter: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.
Activity
FreshTVMax commentedon Sep 30, 2026
@FreshTVMax has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @FreshTVMax to this issue.
Victoria-Devo commentedon Sep 30, 2026
@Victoria-Devo has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Victoria-Devo to this issue.
KingYuss commentedon Sep 30, 2026
@KingYuss has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @KingYuss to this issue.
Sureplus30 commentedon Sep 30, 2026
@Sureplus30 has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Sureplus30 to this issue.
Divine639700 commentedon Sep 30, 2026
@Divine639700 has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Divine639700 to this issue.
EmmanuelAjogu commentedon Sep 30, 2026
@EmmanuelAjogu has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @EmmanuelAjogu to this issue.
dhikbass commentedon Sep 30, 2026
@dhikbass has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @dhikbass to this issue.
ravimahatonp commentedon Oct 10, 2026
Hello!
I can take ownership of this task. I'll address Example files will not compile or run -- broken imports and APIs around
examples/rust_client.rsandexamples/rust_client_example.rsand make sure automated checks and CI workflows stay green. Would love to take this on — please assign!Best,
od-hunter commentedon Oct 16, 2026
@od-hunter has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @od-hunter to this issue.
drips-wave commentedon Oct 16, 2026
Congratulations, @od-hunter! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.
🧑💻 @od-hunter: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
Warning
When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
🌊 Happy Wave 🌊
Fix/issues 478 480 481 (#648)
grantfox-oss commentedon Oct 19, 2026
🎉 This issue has been marked as completed on GrantFox!
@od-hunter's PR #648 was approved and merged by @DeFiVC.
🏆 @od-hunter: You earned 40 FoxPoints for this contribution! Your current tier: Builder (1,748 total points). Track your full progress on GrantFox.
👏 Great work, @od-hunter! Keep contributing to ChainLearnOfficial.
drips-wave commentedon Oct 19, 2026
This issue has been completed by @od-hunter as part of the Stellar Wave Program's 10th Wave 🥳
😎 @od-hunter: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.