This package provides a TON adapter for @ant-design/web3.
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.
- For more information, visit Ant Design Web3.
- For an introduction to TON, visit TON.