Skip to content

Repository files navigation

@mochimo/wallet

React-integrated HD wallet implementation for Mochimo blockchain.

Installation

npm install @mochimo/wallet

Usage

import { 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
}

Features

  • HD Wallet implementation
  • React hooks for wallet operations
  • Account management
  • Transaction creation and signing
  • Secure storage integration
  • Error handling
  • TypeScript support

Documentation

[Link to documentation]

License

MIT

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages