/ezui

Primary LanguageTypeScript

⚠️ Use the maintained examples in this repo ⚠️

Wormhole SDK Web Wallet Demo

This demo should serve as an example of how a web wallet can be wrapped to provide one of the Signer interfaces required by the Wormhole SDK.

See the MetaMaskSigner for an example of a SignAndSendSigner using Metamask See the PhantomSigner for an example of a SignAndSendSigner using Phantom

⚠️ This demo is not very user friendly (no ability to change transfer params in UI) nor pretty (I'm bad at this). ⚠️

Try it

git clone https://github.com/barnjamin/ezui.git 
cd ezui
npm install
npm run dev
  1. Connect metamask/phantom when prompted

    Note: This example uses Testnet by default, update the const to change this

  2. Click Start Transfer and sign the transaction when prompted

  3. Wait for the transfer to be mined and the VAA to be available

  4. Click Complete Transfer and approve the network change then sign the transaction when prompted

Going Further

Add more web wallet wrapper options Allow modification of transfer parameters Add other routes (CCTP/Gateway/...)