@ant-design/web3-sui
v1.0.5
Published
This package provides a [Sui](https://sui.io) adapter for [@ant-design/web3](https://www.npmjs.com/package/@ant-design/web3).
Downloads
112
Readme
@ant-design/web3-sui
This package provides a Sui adapter for @ant-design/web3.
Installation
npm install @ant-design/web3 @ant-design/web3-sui --save
Usage
import { ConnectButton, Connector } from '@ant-design/web3';
import { SuiWallet, SuiWeb3ConfigProvider } from '@ant-design/web3-sui';
const App: React.FC = () => {
return (
<SuiWeb3ConfigProvider>
<Connector>
<ConnectButton />
</Connector>
</SuiWeb3ConfigProvider>
);
};
export default App;
For more examples, refer to Sui - Ant Design Web3.
Documentation
- For more information, visit Ant Design Web3.
- For an introduction to Sui, visit Sui.