OpenParable
Skip to content
← Back to skills

Orbiter Bridge Flow

Apps & Automation
orbiter-bridge-flow

Orbiter Bridge Flow is an Agent Skill for apps & automation published in the Orbiter-Finance/bridge-skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

One-click flow combining quote, signable tx, approval check, and optional simulation (no signing/broadcast).

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/Orbiter-Finance/bridge-skills/blob/HEAD/skills/orbiter-bridge-flow/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/orbiter-bridge-flow, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Orbiter Bridge Flow

A one-click flow that combines quote, tx build, approval check, and optional simulation. Does not include signing or broadcasting.

When to Use

  • You want a quote and a signable transaction in one step
  • You need to know whether an ERC20 approve is required
  • You want an RPC preflight before submitting

Inputs

  • sourceChainId (string)
  • destChainId (string)
  • sourceToken (string)
  • destToken (string)
  • amount (string)
  • userAddress (string)
  • targetRecipient (string)
  • slippage (number, optional)
  • feeConfig (object, optional)
  • channel (string, optional)
  • rpcUrl (string, optional)
  • chainId (string, optional)
  • simulate (boolean, optional)
  • callOnFail (boolean, optional)
  • autoApprove (boolean, optional)
  • privateKey (string, optional, required when autoApprove is true)

Outputs

  • quote
  • signableTx
  • approve (only when an approve step exists)
    • approveRequired (boolean)
    • allowance (string)
    • spender (string)
    • amount (string)
    • tx (approve transaction)
  • simulate
    • If autoApprove is true and allowance is insufficient, approveTxHash is included.

Notes

  • If the route includes a swap, the quote.steps array will include a swap step.
  • signableTx always points to the bridge step when available.

CLI Example

orbiter bridge flow \
  --source-chain 42161 \
  --dest-chain 8453 \
  --source-token 0x0000000000000000000000000000000000000000 \
  --dest-token 0x0000000000000000000000000000000000000000 \
  --amount 300000000000000 \
  --user 0xabc... \
  --recipient 0xabc... \
  --chain 42161 \
  --call-on-fail