Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

barnjamin/ezui

Repository files navigation

⚠️ 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/...)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published