React hooks for NoWallet SDK (Mantle Network)
npm install @nowallet/reactSocial login → automatic wallet → gasless transaction.
No seed phrase. No MetaMask. No manual wallet selection.
Users log in with Google/email, and a wallet is automatically created in the background.
All transactions can be gasless via sponsorship.


- 🔐 Social login (Google, email)
- 🎒 Auto wallet creation (no private key needed)
- ⛽ Gasless transactions (sponsored by paymaster)
- ⚛️ React hooks for easy integration
- TypeScript support
- Mantle Network native
``bash`
pnpm add @nowallet/react @nowallet/core
`tsx
import { NoWalletProvider, useNoWallet, useSendTransaction } from '@nowallet/react';
function App() {
return (
);
}
function Dashboard() {
const { user, login } = useNoWallet();
const { send } = useSendTransaction();
if (!user) {
return ;
}
return (
Wallet: {user.walletAddress}
Available Hooks
- useNoWallet() — Main hook (user, login, logout, isLoading, isConnected)
- useUser() — User info (user, isConnected)
- useWallet() — Wallet data (wallet, address, balance, isConnected)
- useBalance() — Balance with refresh (balance, refresh, isLoading)
- useSendTransaction() — Send tx (send, isLoading, error, data)
- useMintNFT() — Mint NFT (mint, isLoading, error, data)
Session Persistence
User sessions are automatically saved to
localStorage`. On refresh or revisit, the user stays logged in.MIT