npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@velocity-bpa/n8n-nodes-euler-protocol

v1.0.0

Published

n8n community node for Euler Protocol - DeFi lending protocol operations

Downloads

141

Readme

n8n-nodes-euler-protocol

[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].

An n8n community node for interacting with Euler Protocol, a permissionless lending protocol on Ethereum. This node provides access to 5 core resources including vault management, lending operations, borrowing functionality, liquidation monitoring, and comprehensive analytics for DeFi automation workflows.

n8n Community Node License TypeScript Ethereum Lending Protocol Web3

Features

  • Vault Management - Create, monitor, and manage Euler Protocol vaults with real-time position tracking
  • Lending Operations - Supply assets to earn yield with automated interest rate monitoring and withdrawal management
  • Borrowing Functionality - Access liquidity through collateralized borrowing with health factor monitoring
  • Liquidation Monitoring - Track at-risk positions and execute liquidations with profit optimization
  • Real-time Analytics - Access comprehensive protocol metrics, TVL data, and market insights
  • Risk Management - Monitor collateral ratios, health factors, and liquidation thresholds
  • Multi-Asset Support - Work with various ERC-20 tokens supported by Euler Protocol
  • Gas Optimization - Smart transaction batching and gas price optimization for cost-effective operations

Installation

Community Nodes (Recommended)

  1. Open n8n
  2. Go to SettingsCommunity Nodes
  3. Click Install a community node
  4. Enter n8n-nodes-euler-protocol
  5. Click Install

Manual Installation

cd ~/.n8n
npm install n8n-nodes-euler-protocol

Development Installation

git clone https://github.com/Velocity-BPA/n8n-nodes-euler-protocol.git
cd n8n-nodes-euler-protocol
npm install
npm run build
mkdir -p ~/.n8n/custom
ln -s $(pwd) ~/.n8n/custom/n8n-nodes-euler-protocol
n8n start

Credentials Setup

| Field | Description | Required | |-------|-------------|----------| | API Key | Euler Protocol API key for authenticated requests | Yes | | Environment | Protocol environment (mainnet/testnet) | Yes | | Wallet Address | Ethereum wallet address for operations | Yes | | Private Key | Private key for transaction signing (encrypted) | Yes |

Resources & Operations

1. Vault

| Operation | Description | |-----------|-------------| | Create | Create a new Euler Protocol vault | | Get Details | Retrieve vault information and current status | | List Vaults | Get all vaults for a specific address | | Update Configuration | Modify vault settings and parameters | | Close Vault | Close and settle vault positions |

2. Lending

| Operation | Description | |-----------|-------------| | Supply Assets | Deposit assets to earn lending yield | | Withdraw Assets | Remove supplied assets from the protocol | | Get Supply Balance | Check current supplied asset balances | | Get Interest Earned | Retrieve accumulated interest earnings | | Set Interest Rate Mode | Configure variable or stable interest rates |

3. Borrowing

| Operation | Description | |-----------|-------------| | Borrow Assets | Borrow assets against collateral | | Repay Loan | Repay borrowed amounts with interest | | Get Borrow Balance | Check current borrowed asset amounts | | Get Health Factor | Retrieve account health and liquidation risk | | Set Collateral | Enable/disable assets as collateral |

4. Liquidation

| Operation | Description | |-----------|-------------| | Check Liquidation | Monitor positions for liquidation opportunities | | Execute Liquidation | Perform liquidation of undercollateralized positions | | Get Liquidation Threshold | Retrieve liquidation parameters for assets | | Calculate Profit | Estimate liquidation profitability | | Monitor Positions | Track multiple positions for liquidation risks |

5. Analytics

| Operation | Description | |-----------|-------------| | Get Protocol Stats | Retrieve overall protocol metrics and TVL | | Get Market Data | Access asset prices and market information | | Get Historical Data | Fetch historical protocol and market data | | Generate Reports | Create comprehensive analytics reports | | Track Performance | Monitor portfolio and position performance |

Usage Examples

// Supply USDC to earn lending yield
{
  "asset": "USDC",
  "amount": "1000",
  "walletAddress": "0x742d35Cc6075C4532B8d0b7d1B63d5b18B6c3f7",
  "enableAsCollateral": true
}
// Borrow ETH against supplied collateral
{
  "asset": "WETH",
  "amount": "0.5",
  "interestRateMode": "variable",
  "walletAddress": "0x742d35Cc6075C4532B8d0b7d1B63d5b18B6c3f7"
}
// Monitor liquidation opportunities
{
  "minHealthFactor": "1.05",
  "minProfitThreshold": "50",
  "assets": ["USDC", "WETH", "DAI"],
  "maxGasPrice": "30"
}
// Get protocol analytics and TVL data
{
  "timeframe": "24h",
  "includeHistorical": true,
  "assets": ["all"],
  "metrics": ["tvl", "borrowVolume", "liquidations"]
}

Error Handling

| Error | Description | Solution | |-------|-------------|----------| | Insufficient Collateral | Borrowing amount exceeds available collateral | Reduce borrow amount or add more collateral | | Invalid Asset | Asset not supported by Euler Protocol | Use supported assets from protocol documentation | | Gas Estimation Failed | Transaction gas estimation error | Check network conditions and retry | | Health Factor Too Low | Position at risk of liquidation | Add collateral or repay debt | | API Rate Limit | Too many requests to Euler API | Implement request throttling and retry logic | | Network Connection | Ethereum network connectivity issues | Verify network status and RPC endpoint |

Development

npm install
npm run build
npm test
npm run lint
npm run dev

Author

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

Contributions are welcome! Please ensure:

  1. Code follows existing style conventions
  2. All tests pass (npm test)
  3. Linting passes (npm run lint)
  4. Documentation is updated for new features
  5. Commit messages are descriptive

Support