Connector Kit
A framework agnostic wallet connection and state management development kit for Solana applications.
🚀 Quick Start
Prerequisites
- Node.js: Version 18.0.0 or higher
- pnpm: 9.12.3 or higher (recommended package manager)
Installation
📦 Available Packages
This monorepo contains several packages:
- @connectorkit/sdk - Core React hooks and utilities for Solana development
- @connectorkit/connector - Wallet connector components and context management
- @connectorkit/providers - Provider templates and configurations
- @connectorkit/jupiter - Jupiter DEX integration example
- @connectorkit/ui-primitives - Headless UI component primitives
🛠️ Development
Available Scripts
pnpm dev
pnpm build
pnpm test
pnpm lint
pnpm type-check
pnpm format
pnpm changeset
pnpm version-packages
pnpm release
Development Workflow
-
Start the docs site (includes all examples and demos)
cd apps/docs
pnpm dev
Visit http://localhost:3000 to see the documentation and interactive examples.
-
Work on a specific package
cd packages/sdk
pnpm dev
pnpm test
-
Build everything
pnpm build
🏗️ Project Structure
connector-kit/
├── apps/
│ └── docs/ # Documentation site
├── packages/
│ ├── sdk/ # Core React hooks and utilities
│ ├── connector/ # Connection components
│ ├── providers/ # Provider configurations and templates
│ ├── jupiter/ # Jupiter DEX integration example
│ └── ui-primitives/ # Headless UI components library
🔧 Testing
pnpm test
cd packages/sdk
pnpm test
pnpm test --watch
✨ Recent Improvements
Documentation Experience
- Collapsible sidebar navigation with smooth animations
- Intelligent section management - relevant sections stay expanded
- Clean, modern interface with improved visual hierarchy
- Enhanced accessibility with proper ARIA labels and keyboard navigation
Developer Experience
- Framework agnostic design - works with React, Vue, Angular, and vanilla JavaScript
- TypeScript-first - comprehensive type definitions for better DX
- Modular architecture - use only what you need
- Extensible theming system - customize appearance to match your brand
🚀 Contributing
We welcome contributions! Please see our Contributing Guide for details on how to get started.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.