Before you begin, please reach out to the TipLink team to get your domain/subdomain approved for use with the wallet adapter.
Install the latest TipLink wallet adapter package @tiplink/wallet-adapter
Import TipLinkWalletAdapter
from @tiplink/wallet-adapter
in your WalletProvider
. Note that it’s important that the adapter is memoized via useMemo
(and recommended by the wallet adapter docs as well).
TipLinkWalletAdapter
via its constructor – be sure to include the name of your dApp, as well as the theme (choose between dark
, light
, or system
):
e.g. new TipLinkWalletAdapter({ title: "Name of Dapp", clientId: "694bf97c-d2ac-4dfc-a786-a001812658df", theme: "dark" })
Lastly, Install latest TipLink wallet adapter react ui package at: @tiplink/wallet-adapter-react-ui
, wrap a TipLinkWalletAutoConnect
from this package around the WalletProvider
. Follow the instructions below depending on your NextJS version.