fxhash IRL Payment Integration Proposal
Direct pay to buy
Flow:
- User pays to buy a token using {Apple,Google} Pay.
- Autonomy server receives the payment receipts.
- Autonomy server makes request to fxhash API with a signature
- centralized server to server call
- fxhash mints to the destination address
Mint Pass
Term:
- Mint pass: A token minted by Autonomy server. A user can use the token to redeem an artwork from fxhash
Flow:
- A user pay to by a mint pass using {Apple, Google} Pay.
- Autonomy server mints a mint pass to the user's address
- User signs a signature to spend the mint token
- App requests to fxhash API with a signature
- App to fxhash direct call
- fxhash call to burn the mint pass
- validate the signature from user
- fxhash call to mint to the destination address