Chain 138 Snap

🌞
🌜
Install MetaMask Flask

Welcome to Chain 138 Snap

Add Chain 138 (DeFi Oracle Meta) to MetaMask and use market data, bridge, and swap.

How to use: Install MetaMask (or MetaMask Flask for Snaps) → Connect your wallet → Install the Snap → Use the Market, Bridge, and Swap cards below (set GATSBY_SNAP_API_BASE_URL for production API).

Chain 138 Send: If MetaMask’s in-wallet "Send" errors with "No XChain Swaps native asset found", use Send on Chain 138 instead.

Install

Snaps is pre-release software only available in MetaMask Flask, a canary distribution for developers with access to upcoming features.
Install MetaMask Flask

Connect

Get started by connecting to and installing the example snap.

Send Hello message

Display a custom message within a confirmation screen in MetaMask.

Market data

Set GATSBY_SNAP_API_BASE_URL to show market data.

Market summary

Set GATSBY_SNAP_API_BASE_URL to fetch market summary.

Bridge

Set GATSBY_SNAP_API_BASE_URL to show bridge routes.

Swap quote

Set GATSBY_SNAP_API_BASE_URL and enter token addresses + amount (raw).

When hosting the Snap yourself (e.g. for development), snap.manifest.json and package.json must be at the host’s root path, and the bundle must be served at the path given in source.location in the manifest. When installing from npm (production), the published package already satisfies this layout.