Skip to main content
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

1

Clone the repository

2

Install Para plugin dependencies

First, clone and build the Para plugin:
Then install the example project dependencies:
3

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:
Create embedded wallets for your users without requiring them to manage private keys or install extensions.
Sign transactions securely through Para’s infrastructure:
Para handles all key management securely, allowing you to focus on building your application logic.

Project Structure

Integration Benefits

Using Para with Solana Agent Kit provides several advantages:
  1. User-friendly onboarding - Create wallets for users without requiring technical knowledge
  2. Enhanced security - Para’s secure infrastructure manages keys and signing
  3. Developer simplicity - Abstract away complex wallet management
  4. Flexible deployment - Works in both server and client environments
  5. 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.