React-integrated HD wallet implementation for Mochimo blockchain.
npm install @mochimo/walletimport { WalletProvider, useWallet, useAccounts } from '@mochimo/wallet';
// Wrap your app with the provider
function App() {
return (
<WalletProvider>
<YourApp />
</WalletProvider>
);
}
// Use in components
function WalletComponent() {
const { createWallet, loadWallet } = useWallet();
const { accounts, activeAccount } = useAccounts();
// ... your component logic
}- HD Wallet implementation
- React hooks for wallet operations
- Account management
- Transaction creation and signing
- Secure storage integration
- Error handling
- TypeScript support
[Link to documentation]
MIT