Cross-Chain Adaptive Services
import { Arc402 } from "arc402-sdk";
const arc = new Arc402({ apiKey: process.env.ARC402_API_KEY });
// Example: routing an asset across chains
const crossChainAction = await arc.routeAsset({
fromChain: "Solana",
toChain: "Ethereum",
asset: "USDC",
amount: 1000
});
console.log("Cross-chain routing result:", crossChainAction);
Last updated