Skip to content

kunalabs-io/sui-snap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sui MetaMask Snap

This Snap allows MetaMask users to interact with the Sui blockchain.

Usage

The Snap can be installed by visiting https://suisnap.com or any app that has integrated the Snap (see below for integration instructions).

For apps to be able to connect to Flask, you will need to disable MetaMask and any other wallets that might be overriding the window.ethereum object.

Docs are available at https://docs.suisnap.com/

Enable Sui Snap in your app

Since MetaMask Snaps don't support the wallet standard, the Sui Snap wallet needs to be registered manually. You can do this by installing the @kunalabs-io/sui-snap-wallet package and calling the registerSuiSnapWallet function in the initialization of your app (e.g., in main.tsx):

pnpm add @kunalabs-io/sui-snap-wallet
import { registerSuiSnapWallet } from "@kunalabs-io/sui-snap-wallet";

registerSuiSnapWallet();

Development

  • pnpm install
  • run pnpm build in packages/wallet-adapter
  • run pnpm dev in both packages/snap and packages/wallet-dapp

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published