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

1.0.4 • 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

83

Version

1.0.4

License

none

Unpacked Size

36.9 kB

Total Files

76

Last publish

Collaborators

  • jeason
  • yutingzhao1991