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

Payments - Receive on chain payments for off chain items #13

Merged
merged 17 commits into from
Oct 8, 2024

Conversation

ScreamingHawk
Copy link
Contributor

@ScreamingHawk ScreamingHawk commented Jun 17, 2024

Payments allows a user to purchase off chain items by accepted on chain tokens.

  1. User requests off chain item from API
  2. API constructs on chain payment information and signs params
  3. User submits tx to send on chain payment
  4. API watches for event and issues off chain item

Payments can be made in ERC-20/721/1155. Payments can be made to multiple parties for a single "purchase".

Also support cross chain payments using "chained" details. On the correct chain, chained information is included in the payment request. When an alternative chain payment is made, the indexer/signer is able to call the chained payment after off chain validation.

@ScreamingHawk ScreamingHawk merged commit cc6b1d3 into master Oct 8, 2024
3 checks passed
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.

1 participant