n8n Integration
Then8n-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
- Clone the repository:
- Install dependencies:
- Build the project:
- 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:- Add your Solana private key
- Set your preferred RPC URL
- 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”)
- 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
- 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:- Clone the repository
- Install dependencies
- Build the project
- Test your changes