Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions plugins/circle/skills/use-gateway/references/evm-to-evm.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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();
Expand Down
8 changes: 4 additions & 4 deletions plugins/circle/skills/use-gateway/references/solana-to-evm.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down