suiet / wallet-kit

The first choice to connect all wallets on Sui blockchain
https://kit.suiet.app
MIT License
167 stars 61 forks source link

npm install '@suiet-wallet' not found #202

Closed JOEYLEE1121 closed 10 months ago

JOEYLEE1121 commented 1 year ago

Hello I am trying to use useAccountBalance hook, but seems like I cannot get the correct library. I can access useWallet hook from '@suiet/wallet-kit' but not useAccountBalance. Is the '@suiet/wallet' currently not published or is there other way to use the hook? I am following the instructions from the Suiet Wallet Kit documentation. Thank you.

bruceeewong commented 1 year ago

Hi, would you mind confirming your version of wallet kit? I've tried with v0.2.16 and useAccountBalance is accessible from '@suiet/wallet-kit'. If there is still confusion I would suggest checking this example: https://github.com/suiet/wallet-kit/blob/main/examples/with-vite/src/App.tsx#L24

bruceeewong commented 10 months ago

Close this issue for not receiving active responses