Skip to content

Transaction flows unification#484

Open
Pravdyvy wants to merge 10 commits into
mainfrom
Pravdyvy/account-manager-extension
Open

Transaction flows unification#484
Pravdyvy wants to merge 10 commits into
mainfrom
Pravdyvy/account-manager-extension

Conversation

@Pravdyvy
Copy link
Copy Markdown
Collaborator

@Pravdyvy Pravdyvy commented May 18, 2026

🎯 Purpose

Future LEZ core needs full transaction functionality. Unification of transaction management will help.

⚙️ Approach

Extending generic transaction creation to include public transactions. Added additional variant for AccountManager inputs to allow public accounts with forced no-sign.

  • WalletCore now have general methods to send public transactions as well.
  • Renamed wallet module privacy_preserving_tx into account_manager to better explain its functionality.
  • Renamed PrivacyPreservingAccount into AccountManagerAccountIdentity to extend it for public executions.
  • Additional variant of input account to AccountManager. Public with forced no-sign.

🧪 How to Test

Refactor, previous tests must pass.

🔗 Dependencies

None

🔜 Future Work

None

📋 PR Completion Checklist

  • Complete PR description
  • Implement the core functionality
  • Add/update tests
  • Add/update documentation and inline comments

@Pravdyvy Pravdyvy self-assigned this May 18, 2026
@Pravdyvy Pravdyvy marked this pull request as ready for review May 19, 2026 17:13
Copy link
Copy Markdown
Collaborator

@Arjentix Arjentix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool refactoring, lgtm

Comment thread examples/program_deployment/src/bin/run_hello_world_private.rs Outdated
@Pravdyvy Pravdyvy mentioned this pull request May 20, 2026
8 tasks
Copy link
Copy Markdown
Collaborator

@schouhy schouhy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm thanks

Copy link
Copy Markdown
Collaborator

@moudyellaz moudyellaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks. Left some minor comments.

Comment thread wallet/src/program_facades/amm.rs Outdated
Comment thread wallet/src/program_facades/amm.rs Outdated
Comment thread wallet/src/lib.rs
Comment thread wallet/src/lib.rs Outdated
Comment thread wallet/src/account_manager.rs
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.

4 participants