Skip to content

feat: special claimer wallet#549

Open
crypto-vincent wants to merge 10 commits intomainfrom
vbrunet/2026_02_05-treasurer-claim-changes
Open

feat: special claimer wallet#549
crypto-vincent wants to merge 10 commits intomainfrom
vbrunet/2026_02_05-treasurer-claim-changes

Conversation

@crypto-vincent
Copy link
Contributor

@crypto-vincent crypto-vincent commented Feb 5, 2026

Summary

Add a "claimer" pubkey to the clients that can be used to claim the rewards from the treasurer instead of using the client's signer to sign during treasurer claims.

Details

TLDR:

  • the Coordinator.join_run IX now takes a claimer as parameter
  • the Treasurer.participant_claim now requires the claimer to sign instead of the user (the client)
  • the on-chain storage now needs a breaking change
  • the CLI must then be upgraded
  • smart contract tests updated to reflect new logic

@crypto-vincent crypto-vincent self-assigned this Feb 5, 2026
pub struct Client {
pub id: ClientId,
#[ts(type = "number[]")]
pub claimer: Pubkey,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is the main change

@crypto-vincent crypto-vincent added contract change change to on-chain contract logic storage change change to on-chain storage layout labels Feb 9, 2026
@crypto-vincent crypto-vincent changed the title wip: feat: special claimer wallet ? feat: special claimer wallet Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contract change change to on-chain contract logic storage change change to on-chain storage layout

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant