Skip to content

feat: implement Soroban contract example library#580

Open
Sughter99 wants to merge 1 commit into
MDTechLabs:mainfrom
Sughter99:feat/soroban-example-library
Open

feat: implement Soroban contract example library#580
Sughter99 wants to merge 1 commit into
MDTechLabs:mainfrom
Sughter99:feat/soroban-example-library

Conversation

@Sughter99

Copy link
Copy Markdown

Closes #454

Summary

Implements a curated library of production-ready Soroban smart contract
examples for the GasGuard project.

Changes

  • token-example — fungible token with initialize, balance, and transfer functions
  • access-control-example — role-based access control with admin/user roles
  • upgradeable-example — admin-gated contract upgrade mechanism via WASM hash

Location

All examples added under packages/examples/stellar/

Acceptance Criteria

  • Example library implemented
  • Examples compile successfully with no warnings

- Add token-example with initialize, balance, and transfer

- Add access-control-example with role-based admin/user system

- Add upgradeable-example with admin-gated WASM upgrade mechanism

- Register all three crates in workspace Cargo.toml
@drips-wave

drips-wave Bot commented Jun 29, 2026

Copy link
Copy Markdown

@Sughter99 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Soroban Contract Example Library

2 participants