debridge

Implement cross-chain token transfers and message passing on Solana using the deBridge SDK.

1|1|Updated May 21, 2026
One-click install
npx skills add https://github.com/naruto11eth/cryptoskills --skill debridge-naruto11eth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debridge
Source: https://github.com/naruto11eth/cryptoskills/tree/main/skills/debridge
Command: npx skills add https://github.com/naruto11eth/cryptoskills --skill debridge-naruto11eth

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building cross-chain bridges between Solana and EVM chains requires precise knowledge of deBridge program IDs, PDA derivations, account ordering, and fee structures, where mistakes can cause failed transactions or lost funds. ## Core Features & Use Cases - Cross-Chain Transfers: Send tokens from Solana to 20+ EVM chains with native or asset fee payment options, including PDA-signed sends. - Message Passing & External Calls: Send arbitrary messages and execute smart contract calls on destination chains with execution fees and fallback addresses. - Claim Validation & Fee Queries: Validate incoming claims on the receiving side and query transfer fees, chain support, and asset fee availability. - Use Case: Build an Anchor program that bridges USDC from Solana to Ethereum, derives all required deBridge PDAs, calculates total fees, and submits the transfer with a TypeScript client. ## Quick Start Ask the agent to write a Solana Anchor program that sends tokens cross-chain to Ethereum using the deBridge SDK.

Frequently Asked Questions about debridge

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

FAQPage Schema
How do I send tokens cross-chain from Solana using deBridge?

Call invoke_debridge_send from the deBridge Solana SDK with a SendIx struct containing the 32-byte target chain ID, receiver address, amount, and fee mode. Pass the required deBridge accounts via remaining_accounts in the documented order.

How do I pay deBridge fees in the bridged token instead of SOL?

Set is_use_asset_fee to true in the SendIx struct after confirming availability with is_asset_fee_available for the target chain. The protocol then deducts fees from the transferred token amount instead of requiring SOL.

What are the deBridge program IDs on Solana mainnet?

The main deBridge program is DEbrdGj3HsRsAzx6uH4MKyREKxVAfBydijLUF3ygsFfh and the settings program is DeSetTwWhjZq6Pz9Kfdo1KoS5NqtsM6G8ERbX4SSCSft. These are exposed as DEBRIDGE_ID and SETTINGS_ID constants in the SDK.

Why does my deBridge transaction fail with WrongAccountDiscriminator?

This error means an account passed to the SDK is not the expected type, usually due to incorrect PDA derivation or wrong account ordering. Verify PDAs using the documented seeds and follow the exact remaining_accounts order.

Can I test deBridge integrations on Solana devnet?

deBridge infrastructure operates on mainnet only, so devnet testing is not supported. Use a mainnet fork for integration tests or mock the SDK responses for unit tests.

How do I execute a smart contract call on the destination chain?

Initialize an external call buffer with invoke_init_external_call, then send with submission params containing the Keccak256 shortcut of the call data, an execution fee, and a fallback address. Set the REVERT_IF_EXTERNAL_FAIL flag to revert on failure.