n8n-nodes-wormhole
v1.0.0
Published
A comprehensive n8n community node for Wormhole cross-chain messaging and token bridge protocol providing 13 resources and 80+ operations for VAA management, token bridging, NTT, guardian network monitoring, and multi-chain analytics across 30+ blockchain
Maintainers
Readme
n8n-nodes-wormhole
[Velocity BPA Licensing Notice]
This n8n node is licensed under the Business Source License 1.1 (BSL 1.1).
Use of this node by for-profit organizations in production environments requires a commercial license from Velocity BPA.
For licensing information, visit https://velobpa.com/licensing or contact [email protected].
A comprehensive n8n community node for Wormhole, the cross-chain messaging and token bridge protocol connecting 30+ blockchains including Ethereum, Solana, BSC, Polygon, Avalanche, Arbitrum, Optimism, Aptos, and Sui.
Features
- 13 Resource Categories with 80+ operations
- VAA Management - Retrieve, parse, and validate Verifiable Action Approvals
- Token Bridging - Portal token bridge operations with lock/mint mechanism
- Native Token Transfers (NTT) - Burn/mint model transfers
- Guardian Network - Monitor the 19-node validator network
- Cross-Chain Queries (CCQ) - Read state across chains
- Multi-Chain Support - 30+ blockchains including EVM and non-EVM
- Analytics & Monitoring - Protocol stats, volume, TVL, and transaction metrics
- Poll-Based Triggers - 7 event types for workflow automation
Installation
Community Nodes (Recommended)
- Open n8n
- Go to Settings → Community Nodes
- Click Install
- Enter
n8n-nodes-wormhole - Click Install
Manual Installation
# Navigate to your n8n installation directory
cd ~/.n8n
# Install the package
npm install n8n-nodes-wormhole
# Restart n8nDevelopment Installation
# Clone the repository
git clone https://github.com/Velocity-BPA/n8n-nodes-wormhole.git
cd n8n-nodes-wormhole
# Install dependencies
npm install
# Build the project
npm run build
# Link to n8n custom nodes
mkdir -p ~/.n8n/custom
ln -s $(pwd) ~/.n8n/custom/n8n-nodes-wormhole
# Restart n8nCredentials Setup
Wormhole API Credentials
| Field | Description | Required | |-------|-------------|----------| | Network | Mainnet or Testnet | Yes | | Wormholescan API URL | API endpoint (default: https://api.wormholescan.io/) | Yes | | Guardian RPC Endpoint | Optional Guardian RPC URL | No | | API Key | Optional API key for enhanced rate limits | No | | Request Timeout | Request timeout in milliseconds | No |
Resources & Operations
VAAs (Verifiable Action Approvals)
getVAAByID- Lookup VAA by emitter chain, address, and sequencegetVAAByTransaction- Find VAA by source transaction hashsearchVAAs- Query VAAs with filtersgetVAAStatus- Get verification statusparseVAA- Decode VAA payload and signaturesgetRecentVAAs- Get latest VAAs with pagination
Token Transfers
getTransferQuote- Estimate transfer cost and timebuildTransfer- Create transfer transaction datagetTransferStatus- Track transfer progresscompleteTransfer- Build redemption transactiongetTransferByHash- Lookup transfer detailslistTransfers- Get transfer history by address
Token Bridge (Portal)
attestToken- Register token for cross-chain transfersgetAttestation- Get token registration statusgetWrappedToken- Find wrapped token on destinationgetOriginalToken- Find native token from wrappedgetSupportedTokens- List bridgeable tokens
Native Token Transfers (NTT)
getNTTQuote- Get NTT transfer estimatesendNTT- Initiate NTT transferredeemNTT- Complete NTT on destinationgetNTTStatus- Track NTT transfergetNTTTokens- List NTT-supported tokens
Messages
getMessage- Retrieve cross-chain messagesendMessage- Post message (build transaction)getMessageStatus- Check delivery statusparseMessage- Decode message payloadlistMessages- Get recent messages
Guardian Network
getGuardianSet- Get current guardian setgetGuardianInfo- Get individual guardian detailsgetHeartbeats- Get guardian health statusgetNetworkStatus- Get overall network statusgetSignatures- Get VAA signatures breakdown
Chains
getSupportedChains- Get all connected chainsgetChainInfo- Get chain detailsgetChainStats- Get chain metricsgetEmitterAddress- Get core bridge addressgetContractAddresses- Get Wormhole contracts
Relayers
getRelayerStatus- Get relayer healthgetDeliveryQuote- Get relayer fee estimaterequestDelivery- Request relayer deliverytrackDelivery- Track delivery statusgetRelayerProviders- List available relayers
Analytics
getProtocolStats- Get overall protocol metricsgetVolumeByChain- Get volume breakdowngetTopTokens- Get most bridged tokensgetHistoricalVolume- Get time-series datagetTransactionCount- Get activity metricsgetTVL- Get total value locked
Transactions
getTransaction- Get transaction detailssearchTransactions- Query with filtersgetRecentTransactions- Get latest activitygetTransactionsByAddress- Get user historygetTransactionStatus- Get completion status
Governor
getGovernorStatus- Get governor infogetAvailableNotional- Get transfer limitsgetEnqueuedVAAs- Get pending large transfersgetGovernorConfig- Get limit configuration
Queries (CCQ)
createQuery- Create cross-chain querygetQueryResult- Get query responsegetSupportedQueries- List query types
Utility
encodeAddress- Format address for chaindecodeAddress- Parse chain-specific addressgetChainID- Get Wormhole chain IDvalidateVAA- Verify VAA signaturesgetAPIHealth- Check service status
Trigger Node
The Wormhole Trigger node supports poll-based event monitoring:
| Trigger | Description | |---------|-------------| | VAA Published | New VAA published (filter by chain, emitter) | | Transfer Completed | Token transfer completed | | Large Transfer Alert | Transfer above threshold | | Message Delivered | Cross-chain message delivered | | New Token Attested | New token registered | | Guardian Set Changed | Guardian rotation | | Chain Added | New chain connected |
Usage Examples
Monitor Large Transfers
// Wormhole Trigger: largeTransferAlert
// Threshold: 100000 (USD)
// -> Slack: Send notification
// -> Airtable: Log transfer detailsTrack Cross-Chain Message
// Wormhole: getMessage
// Chain: 2 (Ethereum)
// Emitter: 0x...
// Sequence: 12345Get Transfer Quote
// Wormhole: getTransferQuote
// Source Chain: Ethereum
// Target Chain: Solana
// Token: USDC
// Amount: 1000Wormhole Concepts
| Concept | Description | |---------|-------------| | VAA | Verifiable Action Approval - signed cross-chain proof from Guardians | | Guardian | Validator in the 19-node Guardian Network | | Emitter | Contract that publishes messages to Wormhole | | Sequence | Auto-incrementing message number per emitter | | Attestation | Token registration for cross-chain transfers | | Portal | Token bridge using lock/mint mechanism | | NTT | Native Token Transfers - burn/mint model | | Relayer | Entity that delivers VAAs to destination chain | | Governor | Rate limiting system for large transfers | | CCQ | Cross-Chain Queries for reading state |
Supported Networks
| Network | Chain ID | Type | |---------|----------|------| | Solana | 1 | Non-EVM | | Ethereum | 2 | EVM | | Terra | 3 | Non-EVM | | BSC | 4 | EVM | | Polygon | 5 | EVM | | Avalanche | 6 | EVM | | Oasis | 7 | Non-EVM | | Algorand | 8 | Non-EVM | | Aurora | 9 | EVM | | Fantom | 10 | EVM | | Karura | 11 | Non-EVM | | Acala | 12 | Non-EVM | | Klaytn | 13 | EVM | | Celo | 14 | EVM | | NEAR | 15 | Non-EVM | | Moonbeam | 16 | EVM | | Neon | 17 | EVM | | Terra2 | 18 | Non-EVM | | Injective | 19 | Non-EVM | | Osmosis | 20 | Non-EVM | | Sui | 21 | Non-EVM | | Aptos | 22 | Non-EVM | | Arbitrum | 23 | EVM | | Optimism | 24 | EVM | | Base | 30 | EVM |
Error Handling
All operations include built-in error handling:
- Network timeouts with configurable duration
- Rate limiting with automatic retry
- Detailed error messages with API status codes
- Continue on fail option for batch processing
Security Best Practices
- API Keys - Use API keys when available for enhanced rate limits
- Network Selection - Use testnet for development and testing
- Rate Limiting - Implement appropriate delays between operations
- VAA Validation - Always validate VAAs before processing
- Address Verification - Verify addresses match expected formats
Development
# Install dependencies
npm install
# Build
npm run build
# Run tests
npm test
# Run tests with coverage
npm run test:coverage
# Lint
npm run lint
# Type check
npm run typecheckAuthor
Velocity BPA
- Website: velobpa.com
- GitHub: Velocity-BPA
Licensing
This n8n community node is licensed under the Business Source License 1.1.
Free Use
Permitted for personal, educational, research, and internal business use.
Commercial Use
Use of this node within any SaaS, PaaS, hosted platform, managed service, or paid automation offering requires a commercial license.
For licensing inquiries: [email protected]
See LICENSE, COMMERCIAL_LICENSE.md, and LICENSING_FAQ.md for details.
Contributing
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit changes:
git commit -m 'Add amazing feature' - Push to branch:
git push origin feature/amazing-feature - Open a Pull Request
Support
- Documentation: Wormhole Docs
- API Reference: Wormholescan API
- Issues: GitHub Issues
Acknowledgments
- Wormhole Foundation for the cross-chain protocol
- n8n for the workflow automation platform
- Wormholescan for the API infrastructure
