Repository navigation
feat: implement contract events, token auth, cross-contract calls and gallery filtering - #772
Merged
Merged
Conversation
… gallery filtering
|
@TeeYml is attempting to deploy a commit to the vidatg's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@TeeYml 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! 🚀 |
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
This PR implements several Soroban sample contracts and adds a category filter to the frontend Community Templates Gallery. It also resolves compiler syntax issues and test-suite configurations so that all tests pass.
Features Implemented
Hello World Event Emission
greeting) inhello_worldsample contract'shellomethod.test.rsto verify the event is emitted correctly on the mock ledger. closes [Smart Contracts] Modify 'Hello World' for Event Emission #760Admin Auth in Token Example
Balance(Address)storage key mapping inTokenContract.mint,set_admin, andbalancemethods enforcing proper admin signature validation (require_auth).Cross-Contract Call Example
cross_contractwithlib.rs,test.rs, andCargo.toml.CalleeContractwith an addition method andCallerContractwhich performs a cross-contract invocation viaCalleeContractClient. Closes [Smart Contracts] Cross-Contract Call Example #762Community Templates Category Filter
DeFi,Utility,DAO) to the template schemas insidefrontend/src/data/community-templates.json.frontend/src/components/templates/TemplateGallery.tsxwith responsive, animated filtering buttons that instantaneously update the gallery selection state. Closes [Frontend] Community Templates Category Filter #763Internal Fixes & Infrastructure
childrenarray of theincrementfolder inide/src/lib/sample-contracts.ts.ide/src/utils/XdrUtils.tshelpers to specify standard 32-bit types (i32) and normalize parsed BigInt numbers inside unit test contexts.requirestatements using path aliases insideSidebar.test.tsxand mocked transaction base64 validation checks insidetransactionExecution.test.ts.Verification Results
ide/andfrontend/typechecks compile successfully with 0 errors.