@ant-design/web3-ton
v1.0.7
Published
This package provides a [TON](https://ton.org) adapter for [@ant-design/web3](https://www.npmjs.com/package/@ant-design/web3).
Downloads
185
Readme
@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
- For more information, visit Ant Design Web3.
- For an introduction to TON, visit TON.