Skip to content

feat: Add DelegateWithActions#146

Merged
snawaz merged 24 commits into
mainfrom
snawaz/delegate-with-actions
Mar 12, 2026
Merged

feat: Add DelegateWithActions#146
snawaz merged 24 commits into
mainfrom
snawaz/delegate-with-actions

Conversation

@snawaz
Copy link
Copy Markdown
Collaborator

@snawaz snawaz commented Feb 20, 2026

It's the first version of DelegateWithActions instruction, along with following:

  • offchain and onchain APIs to create PostDelegationInstruction and PostDelegationActions.
  • Split the program crate, extracting out dlp-api that contains encryption and the instruction builders.
  • It is far from being perfect. Lots of improvements, and error propagations are possible and must be done as soon as the entire e2e flow works!

Summary by CodeRabbit

Release Notes

  • New Features

    • Added delegate_with_actions instruction enabling delegated accounts to execute post-delegation actions with optional encryption support.
    • Introduced encryption/decryption framework for protecting delegated action payloads.
    • Implemented compact instruction encoding for efficient on-chain representation.
  • Infrastructure

    • Reorganized instruction builders into dedicated API package.
    • Added comprehensive automated code analysis and linting configuration.
    • Enhanced feature flag organization for encryption and processing capabilities.

Loading
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.

3 participants