solana-swap

n8n node for Solana blockchain operations with Raydium and Jupiter swap integration. SPL token transfers now fully implemented with @solana/spl-token. Developed by CHECKHC.

Package Information

Downloads: 52 weeklyĀ /Ā 65 monthly
Latest Version: 1.6.3
Author: CHECKHC

Documentation

n8n-nodes-solana-swap

npm version
License: MIT
CHECKHC
Discord Support

⚔ Solana Blockchain Operations & DEX Trading

Powered by CHECKHC - The Certified Human Data Layer for the AI Era

🌐 CHECKHC.net | šŸ“¦ GitHub | šŸ’¬ Discord Support


šŸŽÆ What's Inside This Package?

Complete Solana automation node for n8n - Trade tokens, check balances, and send tokens with enterprise-grade features.

Key Features:

  • šŸ”„ Dual DEX Support - Raydium (lower fees) AND Jupiter (best routing)
  • šŸ’° Token Swaps - Trade any SPL token with automatic signing
  • šŸ’ø Token Transfers - Send SOL, USDC, USDT, CHECKHC or any SPL token
  • šŸ“Š Balance Checks - SOL and SPL token balances
  • šŸ“ˆ Price Tracking - Live token prices via CoinGecko
  • šŸ“œ Transaction History - Full account activity logs
  • šŸ” Enterprise Security - Sanitized errors, timeout protection, retry logic

šŸ”— Related CHECKHC Packages

Package Use Case
n8n-nodes-solana-swap (this) DEX trading & Solana operations
n8n-nodes-digicryptostore NFT Document certification
n8n-nodes-photocertif Image & Art certification with AI
n8n-nodes-proofofauthenticity Lightweight hash timestamping + C2PA

šŸš€ Quick Start

1. Install

cd ~/.n8n/nodes
npm install n8n-workflow
npm install n8n-nodes-solana-swap

Restart n8n after installation.

2. Configure Credentials

In n8n: Credentials → Solana API

  • Network: mainnet-beta, devnet, or testnet
  • RPC Endpoint: Public RPC or custom (Helius, QuickNode)
  • Public Key: Your wallet address
  • Private Key: For swap/transfer operations (base58 format)

šŸ“š Operations

Operation Description
Get Balance Get SOL balance of a wallet
Get Token Balance Get SPL token balance
Get Token Price Get current price via CoinGecko
Get Transaction History Get wallet transaction history
Get Account Info Get on-chain account data
Get Swap Quote Get quote from Raydium or Jupiter
Execute Swap Prepare swap transaction
Execute Swap (Advanced) Execute swap with auto-signing
Send Token Send SOL or SPL tokens

šŸ”„ DEX Selection

Feature Raydium Jupiter
Fees āœ… Lower Variable
Speed āœ… Fast Depends on routing
Best For Popular tokens Exotic tokens

šŸ“‹ Common Token Addresses

Token Mint Address
SOL So11111111111111111111111111111111111111112
USDC EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
USDT Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB
CHECKHC 5tpkrCVVh6tjjve4TuyP8MXBwURufgAnaboaLwo49uau

šŸ” Security Best Practices

āœ… DO:

  • Use a dedicated wallet for n8n automation
  • Test on devnet before mainnet
  • Start with small amounts
  • Monitor transactions on Solscan

āŒ DON'T:

  • Use your main wallet
  • Store large amounts in automation wallet
  • Share your private key

šŸ› Troubleshooting

"getaddrinfo ENOTFOUND quote-api.jup.ag"

  • This node uses correct URLs: lite-api.jup.ag/swap/v1
  • If you see this error, update to latest version

"Node not updating"

  • Remove and reinstall the package
  • Restart n8n after updates

šŸ”— Links


šŸ“„ License

MIT Ā© CHECKHC


šŸ¢ About CHECKHC

CHECKHC is building the Certified Human Data Layer for the AI Era.

šŸ› ļø Our Solutions:

  • ⚔ Solana Swap - This package! DEX trading automation
  • šŸ“ø PhotoCertif - Image & Art certification with AI
  • šŸ“„ DigiCryptoStore - NFT document certification
  • šŸ“ ProofOfAuthenticity - Privacy-first hash timestamping
  • šŸŖ™ $CHECKHC Token - Native utility token

šŸ“§ Contact: contact@checkhc.net
🌐 Official Website: www.checkhc.net


Made with ā¤ļø by CHECKHC - Empowering Solana automation for everyone šŸš€

Discussion