diff --git a/plugins/circle/skills/use-gateway/references/evm-to-evm.md b/plugins/circle/skills/use-gateway/references/evm-to-evm.md index 7edfa7ea..19323c09 100644 --- a/plugins/circle/skills/use-gateway/references/evm-to-evm.md +++ b/plugins/circle/skills/use-gateway/references/evm-to-evm.md @@ -10,7 +10,7 @@ Browser-wallet EVM -> EVM transfer flow: import { useState } from "react"; import { maxUint64, parseUnits, pad, type Hex, zeroAddress } from "viem"; import { - useAccount, + useConnection, useChainId, useSignTypedData, useSwitchChain, @@ -100,7 +100,7 @@ function evmAddressToBytes32(address: Hex): Hex { * 4) Call gatewayMint on destination chain */ export default function TransferGatewayBalanceEvmEvm() { - const { address: evmAddress } = useAccount(); + const { address: evmAddress } = useConnection(); const chainId = useChainId(); const { mutateAsync: signTypedData } = useSignTypedData(); const { switchChainAsync } = useSwitchChain(); diff --git a/plugins/circle/skills/use-gateway/references/solana-to-evm.md b/plugins/circle/skills/use-gateway/references/solana-to-evm.md index 3b01036e..740f823e 100644 --- a/plugins/circle/skills/use-gateway/references/solana-to-evm.md +++ b/plugins/circle/skills/use-gateway/references/solana-to-evm.md @@ -213,10 +213,10 @@ async function signSolanaBurnIntentWithWallet( .map((b) => b.toString(16).padStart(2, "0")) .join("")}`) as Hex; } catch (error) { - console.warn(` - This wallet does not support signing transactions that aren't strictly Solana t - ransactions. Try another wallet such as Solflare.` - , error); + console.warn( + "This wallet does not support signing transactions that aren't strictly Solana transactions. Try another wallet such as Solflare.", + error, + ); throw error; } }