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

1.0.7 • Public • Published

@ant-design/web3-ton

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

Usage

npm install @ant-design/web3 @ant-design/web3-ton --save
import { ConnectButton, Connector } from '@ant-design/web3';
import { okxTonWallet, tonkeeper, TonWeb3ConfigProvider } from '@ant-design/web3-ton';

const Basic = () => {
  return (
    <TonWeb3ConfigProvider wallets={[tonkeeper, okxTonWallet, { key: 'safepalwallet' }]}>
      <Connector>
        <ConnectButton />
      </Connector>
    </TonWeb3ConfigProvider>
  );
};

export default Basic;

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

Documentation

Package Sidebar

Install

npm i @ant-design/web3-ton

Weekly Downloads

65

Version

1.0.7

License

none

Unpacked Size

37.2 kB

Total Files

76

Last publish

Collaborators

  • jeason
  • yutingzhao1991