Para Plugin Example
Integration example of Solana Agent Kit with Para plugins
This example demonstrates how to integrate and use Solana Agent Kit v2 with Para plugins in your application.
Features
Para Plugin Integration
Integration of solana-plugin-para for both backend and frontend environments
Wallet Management
Complete example of Para wallet creation, management, and transaction handling
Best Practices
Real-world usage patterns and implementation best practices
Full-stack Implementation
Includes both server-side and client-side integration examples
Prerequisites
- Node.js 16.x or higher
- pnpm or bun package manager
- Solana development environment
- Para API credentials
Installation
Clone the repository
Install Para plugin dependencies
First, clone and build the Para plugin:
Then install the example project dependencies:
Set up environment variables
Copy the example environment file:
Update the .env
file with your credentials:
Running the Example
Start the development server:
Open http://localhost:3000 in your browser to view the application.
Implementation Details
Server-Side Integration
Para can be integrated on the server side by using the Para Server Plugin:
Web Integration
For client-side integration, use the Para Web Plugin:
Para Plugin Features
The Para plugin adds the following capabilities to your Solana Agent:
Project Structure
Integration Benefits
Using Para with Solana Agent Kit provides several advantages:
- User-friendly onboarding - Create wallets for users without requiring technical knowledge
- Enhanced security - Para’s secure infrastructure manages keys and signing
- Developer simplicity - Abstract away complex wallet management
- Flexible deployment - Works in both server and client environments
- Seamless AI integration - Para works naturally with the Agent Kit’s AI capabilities
Resources
Para Documentation
Official Para integration guides and API documentation
Solana Agent Kit
Solana Agent Kit v2 documentation and examples
Para Website
Learn more about Para and its features
GitHub Repository
Access the example source code on GitHub
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Was this page helpful?