Skip to content

An example for UniPass Wallet to integrate with Metamask Snap

Notifications You must be signed in to change notification settings

UniPassID/UniPass-Wallet-Snap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UniPass Wallet Snap

An example for UniPass Wallet to integrat with Metamask Snaps.

You can try online demo: https://testnet.snap.unipass.id/

There are separate projects for the frontend and snaps.

Project layout

        
└───typescript
    │   package.json        Root project metadata.
    │ 
    └───packages        
        └───up-frontend      The Poc of Unipass Wallet which connecting snaps of Metamask
        |    └───src            
        └───up-snap          A sub-package for snaps to be installed in Metamask 
            └───src            

Setup

Install dependencies:

yarn install

Build the code

Build all packages:

yarn run build

Run in development

Run the application in development mode (with live reload enabled in the backend):

yarn run start:dev

Point your browser at https://localhost:1901 to see the frontend.