@ant-design/web3-solana
TypeScript icon, indicating that this package has built-in type declarations

1.2.2 • Public • Published

@ant-design/web3-solana

This package provides a Solana adapter for @ant-design/web3.

Installation

npm install @ant-design/web3 @ant-design/web3-solana --save

Usage

import { ConnectButton, Connector } from '@ant-design/web3';
import { PhantomWallet, SolanaWeb3ConfigProvider } from '@ant-design/web3-solana';

const App: React.FC = () => {
  return (
    <SolanaWeb3ConfigProvider wallets={[PhantomWallet()]}>
      <Connector>
        <ConnectButton />
      </Connector>
    </SolanaWeb3ConfigProvider>
  );
};

export default App;

For more examples, refer to Solana - Ant Design Web3.

Documentation

/@ant-design/web3-solana/

    Package Sidebar

    Install

    npm i @ant-design/web3-solana

    Weekly Downloads

    142

    Version

    1.2.2

    License

    none

    Unpacked Size

    75.7 kB

    Total Files

    48

    Last publish

    Collaborators

    • madccc
    • afc163
    • zombiej
    • chenshuai2144
    • vagusx
    • arvinxx
    • jeason
    • yutingzhao1991