Skip to main content

n8n Integration

The n8n-nodes-solana-agent package provides custom nodes for integrating the Solana Agent Kit with n8n workflows. It enables users to interact with the Solana blockchain through automated workflows without coding.

Installation

Local Installation

  1. Clone the repository:
  1. Install dependencies:
  1. Build the project:
  1. Link to your n8n installation:

Global Installation (via npm)

Features

Token Operations

NFT Operations

DeFi Operations (Coming soon)

Configuration

To use the Solana Agent nodes in n8n, you need to configure credentials:
  1. Add your Solana private key
  2. Set your preferred RPC URL
  3. Add your OpenAI API key (for AI-powered features)

Available Operations

Token Operations

Create Token

Create a new SPL token on the Solana blockchain. Required fields:
  • Token Name: The name of your token
  • Token Symbol: A short symbol for the token (e.g., “SOL”, “USDC”)
Optional fields:
  • Decimals: Number of decimal places (default: 9)
  • Initial Supply: Amount to mint initially (default: 0)

Mint Token

Mint additional tokens to a specified address. Required fields:
  • Token Address: The mint address of the token
  • Amount: Quantity to mint
  • Recipient Address: Where to send the minted tokens

NFT Operations

Deploy Collection

Create a new NFT collection. Required fields:
  • Collection Name: The name of your NFT collection
  • Collection Symbol: A short symbol for the collection
Optional fields:
  • Description: Details about the collection
  • Base URI: Base URI for the collection metadata

Mint NFT

Create a new NFT within a collection. Required fields:
  • Collection Address: The address of the collection
  • NFT Name: Name of the NFT
  • NFT URI: URI to the NFT metadata

Development

If you want to contribute to this node or modify its functionality:
  1. Clone the repository
  1. Install dependencies
  1. Build the project
  1. Test your changes
For more detailed information, please refer to the full documentation at docs.sendai.fun.