n8n Integration
Integrate Solana Agent Kit with n8n workflows
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
- Clone the repository:
- Install dependencies:
- Build the project:
- Link to your n8n installation:
Global Installation (via npm)
Features
Token Operations
Operation | Description |
---|---|
Create Token | Create a new SPL token on Solana |
Mint Token | Mint additional tokens to an address |
Transfer Token | Send tokens to another wallet |
NFT Operations
Operation | Description |
---|---|
Deploy Collection | Create a new NFT collection |
Mint NFT | Create a new NFT within a collection |
List NFT for Sale | List an NFT on a marketplace |
DeFi Operations (Coming soon)
Operation | Description |
---|---|
Swap Tokens | Exchange one token for another |
Provide Liquidity | Add liquidity to DEX pools |
Yield Farming | Set up automated yield farming |
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”)
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:
- Clone the repository
- Install dependencies
- Build the project
- Test your changes
For more detailed information, please refer to the full documentation at docs.sendai.fun.
Was this page helpful?