1.0.1 • Published 5 months ago
@ant-design/web3-tron v1.0.1
@ant-design/web3-tron
This package provides a TRON adapter for @ant-design/web3.
Usage
npm install @ant-design/web3 @ant-design/web3-tron --save
import { ConnectButton, Connector } from '@ant-design/web3';
import {
BitgetWallet,
BybitWallet,
OkxTronWallet,
TronlinkWallet,
TronWeb3ConfigProvider,
} from '@ant-design/web3-tron';
const Basic = () => {
return (
<TronWeb3ConfigProvider wallets={[TronlinkWallet, OkxTronWallet, BitgetWallet, BybitWallet]}>
<Connector>
<ConnectButton />
</Connector>
</TronWeb3ConfigProvider>
);
};
export default Basic;
For more examples, refer to TRON - Ant Design Web3.
Documentation
- For more information, visit Ant Design Web3.
- For an introduction to TRON, visit TRON.