### Install Relay Kit Ethers Wallet Adapter Source: https://github.com/relayprotocol/relay-kit/blob/main/packages/relay-ethers-wallet-adapter/README.md Installs the necessary packages for the Relay Protocol SDK and the Ethers Wallet Adapter. Also includes installation of required peer dependencies like ethers and viem. ```bash yarn add @relayprotocol/relay-ethers-wallet-adapter @relayprotocol/relay-sdk yarn add ethers viem @relayprotocol/relay-sdk ``` -------------------------------- ### Adapt Ethers Signer and Execute Transaction with Relay SDK Source: https://github.com/relayprotocol/relay-kit/blob/main/packages/relay-ethers-wallet-adapter/README.md Demonstrates how to adapt an Ethers.js signer using `adaptEthersSigner` and then utilize the Relay SDK to get a transaction quote and execute it. It shows integration with wagmi's `useSigner` hook. ```javascript import { getClient } from "@relayprotocol/relay-sdk"; import { adaptEthersSigner } from "@relayprotocol/relay-ethers-wallet-adapter"; import { useSigner } from "wagmi"; const { data: signer } = useSigner(); const wallet = adaptEthersSigner(signer); const quote = getClient().actions.getQuote({ chainId: 7777777, toChainId: 8453, txs: [{ to: "0x30385bce01da4b415cae1db21d41e9f6eab3ba50", value: "1000000" }], wallet: wallet, }, true); getClient().actions.execute({ quote: quote, wallet: wallet, onProgress: (steps) => { console.log(steps); }, }); ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.