Skip to content

0xStruct/wormhole-xpay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wormhole-xPay

Get paid from various blockchains easily with your personal xPay payment acceptance page powered by Wormhole xAsset bridge.

xDapp: https://wormhole-xpay.netlify.app/#/xpay Video demo: https://vimeo.com/781285817

With xPay, you can create your own payment acceptance page with your wallet address on your chain (i.e: Solana). Then share with others, who can then pay from their wallets on other chains without worry about converting, swapping or losing tokens.

xPay payment form

how does xPay work?

xPay works simply by simplifying Wormhole's xAsset bridge workflows and improving its UX.

Lots of steps and uncertainties are reduced to simple straight forward steps.

how does xPay work?

For payers, go to the payment accept page for your payee

  • connect your wallet
  • select token to send
  • enter amount
  • then just send it

For payees, connect your wallet to access redeem page

  • check the VAAs received
  • then redeem by clicking buttons (no awkwards inputs needed)

Note: this is possible as VAAs are logged with reference to whom they are designated for.

This is comparable to existing web2 payment flow (i.e Stripe payment link). Payer pays via the payment page. Payee checks transfers from the dashboard and cash out.

improvement suggestion

easy query of VAAs by originating address or destined address would enable xPay concept and many more insteresting use-cases.

token bridge UX can be improved by thinking in terms of payer and payee (though they might be the same person) to avoid confusing multiple logins.

redemption and recovery can be less scary / confusing if these can be done by connecting the wallet and being able to see what to redeem or recover