Skip to content

feat: implement TransactionBuilder class #117#132

Open
oscarj007 wants to merge 11 commits intoamina69:developfrom
oscarj007:feat/117-implement-transaction-builder
Open

feat: implement TransactionBuilder class #117#132
oscarj007 wants to merge 11 commits intoamina69:developfrom
oscarj007:feat/117-implement-transaction-builder

Conversation

@oscarj007
Copy link
Copy Markdown

Screenshot (53)

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

@amina69
Copy link
Copy Markdown
Owner

amina69 commented Mar 28, 2026

@oscarj007 ci pipeline fail

@oscarj007
Copy link
Copy Markdown
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!

@amina69
Copy link
Copy Markdown
Owner

amina69 commented Mar 29, 2026

@oscarj007 still failing

@oscarj007
Copy link
Copy Markdown
Author

"I have resolved the linting and type-checking errors. The CI checks should now be passing. Ready for review!"

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.

2 participants