feat: implement TransactionBuilder class #117#132
Open
oscarj007 wants to merge 11 commits intoamina69:developfrom
Open
feat: implement TransactionBuilder class #117#132oscarj007 wants to merge 11 commits intoamina69:developfrom
oscarj007 wants to merge 11 commits intoamina69:developfrom
Conversation
Owner
|
@oscarj007 ci pipeline fail |
Author
|
Update: > * Resolved the module resolution error in src/accounts/index.ts by correcting the relative path to the TransactionBuilder. Fixed a merge conflict in the accounts index file. Local "Problems" tab is now clear; the build should pass the GitHub Actions CI successfully. Ready for final review! |
Owner
|
@oscarj007 still failing |
…ub.com/oscarj007/petad-stellar into feat/117-implement-transaction-builder
Author
|
"I have resolved the linting and type-checking errors. The CI checks should now be passing. Ready for review!" |
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 the core TransactionBuilder class for the SDK as specified in #117. This class provides a fluent interface for constructing Stellar transactions.
Changes
Builder Pattern: Created TransactionBuilder.ts supporting method chaining (.addOperation(), .setMemo(), .build()).
Sequence Management: Implemented logic to fetch and increment account sequence numbers.
Configuration: Added support for custom maxFee, transactionTimeout, and memo fields.
Verification
[x] Successfully implemented the constructor and core methods.
[x] Unit Tests Passed: Verified correct memo assignment, timeout application, and accurate fee usage.
Closes #117