Skip to content

martian-dao/sui-wallet-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Martian Sui Wallet Adapter


To get started first install the npm package for the Martian Sui wallet adapter

npm install @martianwallet/sui-wallet-adapter

At the root of your application, you can then set up the Martian Sui wallet adapter:

import { WalletProvider } from "@mysten/wallet-adapter-react";
import {MartianWalletAdapter} from "@martianwallet/sui-wallet-adapter";

export function App() {
  const adapters = useMemo(() => [
    // Add support for all wallets that adhere to the Wallet Standard:
    new MartianWalletAdapter(),
  ], []);

  return (
    <WalletProvider adapters={adapters}>
      {/* Your application... */}
    </WalletProvider>
  );
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •