recogardtech/autopilotpm/bridge

Claude Code and agent skill by recogardtech/autopilotpm

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Cross-chain token transfers using Wormhole and CCTP

Install

npx vskill@latest install recogardtech/autopilotpm/bridge

SKILL.md

Bridge - Complete API Reference

Transfer tokens across chains using Wormhole and Circle CCTP protocols.

Supported Chains

ChainWormholeCCTP (USDC)
SolanaYesYes
EthereumYesYes
PolygonYesYes
ArbitrumYesYes
OptimismYesYes
AvalancheYesYes
BaseYesYes

Chat Commands

Quote
/bridge quote 100 USDC sol to eth # Quote 100 USDC Solana → Ethereum
/bridge quote 1000 USDC arb to base # Quote Arbitrum → Base
/bridge quote 50 USDC eth to sol # Quote Ethereum → Solana
Execute Transfer
/bridge send 100 USDC sol to eth # Send 100 USDC Solana → Ethereum
/bridge send 1000 USDC arb to base # Send Arbitrum → Base
/bridge send 50 USDC eth to sol --address <dest> # To specific address
Redeem (Claim)
/bridge redeem <tx-hash> # Claim transferred tokens
/bridge pending # List pending redemptions
Status
/bridge status <tx-hash> # Check transfer status
/bridge history # View transfer history

TypeScript API Reference

Wormhole Bridge
typescript
import { executeWormholeBridge, executeWormholeRedeem } from 'autopilot/bridge/wormhole';
// Get quote
const quote = await getWormholeQuote({
sourceChain: 'solana',
destChain: 'ethereum',
token: 'USDC',
amount: 100,
});
console.log(`Transfer 100 USDC: Solana → Ethereum`);
console.log(`Fee: $${quote.fee}`);
console.log(`Est. time: ${quote.estimatedTime} seconds`);
// Execute transfer
const transfer = await executeWormholeBridge({
sourceChain: 'solana',
destChain: 'ethereum',
token: 'USDC',
amount: 100,
// Source wallet
sourcePrivateKey: process.env.SOLANA_PRIVATE_KEY,
// Destination address (optional, defaults to your address)
destAddress: '0x1234...',
});
console.log(`Transfer initiated: ${transfer.txHash}`);
console.log(`VAA: ${transfer.vaa}`);
console.log(`Status: ${transfer.status}`);
// Redeem on destination chain
const redeem = await executeWormholeRedeem({
destChain: 'ethereum',
vaa: transfer.vaa,
destPrivateKey: process.env.EVM_PRIVATE_KEY,
});
console.log(`Redeemed: ${redeem.txHash}`);
console.log(`Amount received: ${redeem.amount} USDC`);
CCTP (Circle) Bridge
typescript
import { executeCCTPBridge, redeemCCTP } from 'autopilot/bridge/cctp';
// CCTP is optimized for USDC transfers
const transfer = await executeCCTPBridge({
sourceChain: 'arbitrum',
destChain: 'base',
amount: 1000, // USDC
sourcePrivateKey: process.env.EVM_PRIVATE_KEY,
destAddress: '0x1234...',
});
console.log(`CCTP transfer: ${transfer.txHash}`);
console.log(`Message: ${transfer.messageHash}`);
// Wait for attestation (usually ~15 minutes)
await waitForAttestation(transfer.messageHash);
// Redeem
const redeem = await redeemCCTP({
destChain: 'base',
messageHash: transfer.messageHash,
destPrivateKey: process.env.EVM_PRIVATE_KEY,
});
Check Status
typescript
import { getTransferStatus } from 'autopilot/bridge';
const status = await getTransferStatus(txHash);
console.log(`Status: ${status.status}`);
// 'pending' | 'confirming' | 'attesting' | 'redeemable' | 'completed' | 'failed'
console.log(`Source confirmations: ${status.sourceConfirmations}`);
console.log(`VAA status: ${status.vaaStatus}`);
console.log(`Redeemed: ${status.redeemed}`);
if (status.status === 'redeemable') {
console.log(`Ready to redeem! VAA: ${status.vaa}`);
}
Get Pending Redemptions
typescript
import { getPendingRedemptions } from 'autopilot/bridge';
const pending = await getPendingRedemptions({
chains: ['ethereum', 'solana', 'arbitrum'],
address: myAddress,
});
for (const p of pending) {
console.log(`${p.sourceChain} → ${p.destChain}`);
console.log(` Amount: ${p.amount} ${p.token}`);
console.log(` Status: ${p.status}`);
console.log(` Age: ${p.age} minutes`);
}

Transfer Flow

Wormhole
  1. Lock tokens on source chain
  2. Wait for confirmations (varies by chain)
  3. Guardian attestation (VAA generation)
  4. Redeem on destination chain
CCTP
  1. Burn USDC on source chain
  2. Wait for attestation (~15 min)
  3. Mint USDC on destination chain

Fees & Times

RouteFeeTime
Solana → Ethereum~$515-20 min
Ethereum → Solana~$2015-20 min
Arbitrum → Base (CCTP)~$0.5015-20 min
Polygon → Arbitrum~$115-20 min

Best Practices

  1. Use CCTP for USDC - Faster and cheaper
  2. Check gas prices - High gas can increase costs
  3. Save VAA/message hash - Needed for redemption
  4. Monitor pending transfers - Don't forget to redeem
  5. Start with small amounts - Test before large transfers
  6. Verify destination address - Double-check before sending

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/recogardtech/autopilotpm/bridge/badge)](https://verified-skill.com/skills/recogardtech/autopilotpm/bridge)

Something wrong with this skill or its page? Tell us.