Skip to main content

Package Manager

Hermis supports all major Node.js package managers. Choose the one you prefer:

Available Packages

Adapter Base

Vanilla JavaScript implementation with TypeScript support. This is the foundation package that works with any JavaScript/TypeScript framework.
Use when:
  • Building with vanilla JavaScript or TypeScript
  • Using Other frameworks (Vue, Svelte, Angular, etc.)
  • Creating custom wallet adapters
  • Extending existing adapters
  • Need maximum flexibility and framework independence

React Package

React hooks and providers for seamless integration with React applications.
Use when:
  • Building React applications
  • Want React-specific hooks and context
  • Need automatic state management

Vue Package

Vue support is coming soon! Star our GitHub repo to get notified when it’s released.

TypeScript Support

All packages include TypeScript definitions out of the box. No additional @types packages are needed.

Framework-Specific Setup

Next.js

For Next.js 13+ with App Router:
Create a client component for the provider:
app/providers.tsx

Vite

For Vite projects, install the polyfills:
Update your vite.config.ts:

Verifying Installation

After installation, verify everything works: For Adapter Base:
For React:

Troubleshooting

If you see module not found errors, ensure all required packages are installed. Check the package documentation for any peer dependencies that may be needed for your specific use case.
This is common in browser environments. Add buffer polyfill:
Then import at the top of your entry file:
All packages include TypeScript definitions. If you encounter errors, ensure you’re using a recent version of TypeScript.
Webpack 5 no longer includes Node.js polyfills by default. You’ll need to configure them manually in your webpack config.

Next Steps

Getting Started

Learn how to configure and use the SDK

Quick Start - React

Jump into a React quick start guide