Docs
Introduction
Introduction
smartkit is a react library that allows you to connect to the sui network in a simple way.
It includes two core packages:
- @heapup/smartkit
- @heapup/smartkit-hooks
@heapup/smartkit-hooks
Built on @mystan/sui.js and @mysten/wallet-standard, these React hooks provide functions such as connecting to a wallet, querying on-chain data, and sending transactions.
@heapup/smartkit
It's a connection modal based on @heapup/smartkit-hooks. Can be easily integrated into your dapp.
analogy
If we analogize smartkit to the Ethereum network
- @heapup/smartkitjust like rainbowkit or web3modal
- @heapup/smartkit-hooksjust like wagmi
- @mysten/sui.jsjust like viem
So, you can use @heapup/smartkit-hooks to build your own connection modal.