Skip to content

feat: implement Gas-less Transaction Support (EIP-712 Style Signatures)#701

Open
CollinsC1O wants to merge 3 commits intoPulsefy:mainfrom
CollinsC1O:gas-less
Open

feat: implement Gas-less Transaction Support (EIP-712 Style Signatures)#701
CollinsC1O wants to merge 3 commits intoPulsefy:mainfrom
CollinsC1O:gas-less

Conversation

@CollinsC1O
Copy link
Copy Markdown

Summary

feat: Gas-less Transaction Support — EIP-712 Style Signatures (#589)

Closes #589

Users sign contribution/registration intents off-chain via SorobanAuthorizationEntry; a relayer submits and pays fees on their behalf.

What's added

crowdfund_vault

  • deposit_with_sig(user, project_id, amount, signature) — gasless contribution
  • get_deposit_nonce(address) — nonce query for relayers
  • GaslessDepositEvent, DepositNonce storage key, InvalidSignature error
  • 5 new tests

project_registry

  • register_project_with_sig(owner, project_id, name, signature) — gasless registration
  • get_registration_nonce(address) — nonce query for relayers
  • GaslessProjectRegisteredEvent, RegistrationNonce storage key, InvalidSignature error
  • 4 new tests

Security

  • Per-address nonces prevent replay attacks
  • Auth scope bound to (fn_name, address, params, nonce) via require_auth_for_args

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 29, 2026

@CollinsC1O Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@CollinsC1O
Copy link
Copy Markdown
Author

@Cedarich All test passes sucessfully, I made sure they all do

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.

Gas-less Transaction Support (EIP-712 Style Signatures)

1 participant