Feature/transaction contract improvements#362
Merged
Oluwaseyi89 merged 5 commits intoNFTopia-Foundation:mainfrom Jan 31, 2026
Merged
Conversation
Contributor
Author
|
@Oluwaseyi89 can you review my pr please the wave almost end |
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.
🚀 Transaction Management Smart Contract – NFTopia (Stellar)
📌 Summary
This PR delivers a complete implementation of the Transaction Management Smart Contract for NFTopia on Stellar.
It provides a robust state machine, atomic execution with rollback, multi-signature support, advanced NFT operations, and a fully passing test suite.
✅ Status
.gitignore📦 Files Changed
Cargo.toml– Updated configuration using Soroban SDK v23 and testutilslib.rs– Full contract implementation (~1,100 lines)README.md– Comprehensive documentation.gitignore– Addedtest_snapshots/🔄 Transaction State Machine
Draft → Pending → Executing → Completed / Failed / Cancelled / RolledBack🧩 Supported NFT Operations (12)
🛠 Core Features
create_transaction– Create atomic transactionsadd_operation– Add operations with dependenciessubmit_transaction– Submit for executionsign_transaction– Multi-signature supportexecute_transaction– Atomic execution with rollbackcancel_transaction– Cancel pending transactionsestimate_gas– Gas estimation with budget enforcement⚡ Batch & Advanced Capabilities
🔐 Security Considerations
🧪 Test Coverage
🧹 Repo Hygiene
test_snapshots/to.gitignoreto prevent future commitsClose #344
🎯 Result
This contract provides a solid, secure, and extensible foundation for managing complex multi-step NFT operations in the NFTopia Stellar ecosystem.