morph-dex

Quote and execute DEX swaps on Morph L2 via Bulbaswap.

3|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/Pieverse-Eng/purrfect-skills --skill morph-dex-pieverse-eng
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: morph-dex
Source: https://github.com/Pieverse-Eng/purrfect-skills/tree/main/morph/vendor/morph-dex
Command: npx skills add https://github.com/Pieverse-Eng/purrfect-skills --skill morph-dex-pieverse-eng

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, eth_account, and includes scripts (resource) components.

What problem does it solve?

This Skill provides reliable DEX quoting and transaction execution tools to avoid manual calldata construction and reduce the risk of failed or unsafe on-chain swaps on Morph L2.

Core Features & Use Cases

  • Quote aggregation: Query Bulbaswap to get estimated output amounts, price impact, and calldata for on-chain execution.
  • On-chain workflows: Check allowances, generate approvals, produce calldata for swaps, and sign/broadcast transactions locally.
  • Integration: Works with wallet and explorer skills to locate token contracts and verify balances, and supports alternative gas payment flows.
  • Use case: Prepare a swap quote for ETH→USDT on Morph, verify allowance, approve if needed, then sign and broadcast the swap transaction using local keys.

Quick Start

Get a swap quote for 1 ETH to USDT on Morph and prepare calldata for on-chain execution with 1% slippage.

Frequently Asked Questions about morph-dex

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I execute DEX swaps on Morph L2?

DEX swaps on Morph L2 are executed by querying Bulbaswap for quotes and calldata, checking token allowances, and signing the transaction locally with a private key for broadcast on chain 2818.

How does Bulbaswap quote aggregation work on Morph Mainnet?

Bulbaswap quote aggregation queries the Bulbaswap aggregator on Morph Mainnet to return estimated output amounts, price impact, and the exact calldata needed for on-chain swap execution.

Do I need a local private key to sign Morph swap transactions?

Yes, a local private key is required to sign and broadcast swap transactions. The Skill uses eth_account to construct and sign transactions locally without exposing your key.

Can I check token allowances and generate approvals before swapping on Morph?

Yes, on-chain workflows include checking current token allowances and generating approval transactions before constructing the final swap calldata for the Bulbaswap aggregator.

What's the best way to prepare an ETH to USDT swap quote on Morph?

The best way to prepare an ETH to USDT swap quote is to request a quote-with-recipient from the Bulbaswap aggregator, specifying a 1% slippage tolerance to generate executable calldata.

Why does my Morph L2 swap transaction fail during execution?

Swap transactions fail if token allowances are insufficient or slippage limits are exceeded. Verify allowances and generate approvals using the quote-with-recipient calldata before broadcasting.