Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional submitter fee enforcement #4

Open
Arinerron opened this issue Nov 8, 2024 · 1 comment
Open

Add optional submitter fee enforcement #4

Arinerron opened this issue Nov 8, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Arinerron
Copy link
Member

Idea: in the future, if you had your commitments/salts but didn't want to deal with funding an account with native coin, you could use a "submitter" who submits the nullifier onchain then makes a call to allow the sender to transfer fees to the submitter (can verify it's profitable offchain first). Can have a smart contract onchain that ensures the submitter's balance goes up too.

low priority / need to think on it more

@Arinerron Arinerron added the enhancement New feature or request label Nov 8, 2024
@Arinerron
Copy link
Member Author

This could be done with a separate contract, where you also submit a proof that the submitter has been compensated in one of the output commitments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant