diff --git a/blog/2024-11-07.md b/blog/2024-11-07.md index 1b2f224573..5c65918840 100644 --- a/blog/2024-11-07.md +++ b/blog/2024-11-07.md @@ -65,33 +65,16 @@ Check [this transaction](https://testnet.nearblocks.io/txns/GrVGFVFmGBcNP5xkoA21 In order to support Ethereum wallets, you only need to update your version of `wallet-selector`, and configure it to include the new `ethereum-wallets` module. -Do not worry! it is very simple, check our example [hello world frontend](https://github.com/near-examples/hello-near-examples/tree/main/frontend), paying special attention to the file [`./src/wallets/near.js`](https://github.com/near-examples/hello-near-examples/blob/main/frontend/src/wallets/near.js). +Do not worry! it is very simple, check our [**tutorial**](/tools/ethereum-wallets) and working example [**hello world frontend**](https://github.com/near-examples/hello-near-examples/tree/main/frontend). -There are only 3 relevant lines, where we import the `ethereum-wallets`, its config, and setup the wallet selector with it: - -```js -import { setupEthereumWallets } from '@near-wallet-selector/ethereum-wallets'; -import { setupWalletSelector } from '@near-wallet-selector/core'; -import { wagmiConfig, web3Modal } from '@/wallets/web3modal'; - -selector = setupWalletSelector({ - network: this.networkId, - modules: [ setupEthereumWallets({ wagmiConfig }), ... ], -}); -``` - -The files are already prepared for you, so you can just copy them into your project and be ready to go! - -:::tip - -For a more detailed explanation, read the awesome documentation the [aurora team created](/tools/ethereum-wallets) - -::: +--- ## Resources -1. [Hello World Example](https://github.com/near-examples/hello-near-examples/blob/main/frontend/) +1. [**Integration Tutorial**](/tools/ethereum-wallets) + +2. [Hello World Example](https://github.com/near-examples/hello-near-examples/blob/main/frontend/) -2. [Recording of the Near Devs call](https://drive.google.com/file/d/1xGWN1yRLzFmRn1e29kbSiO2W1JsxuJH-/view?usp=sharing) with the EthWallets presentation. +3. [Recording of the Ethereum Wallet Presentation](https://drive.google.com/file/d/1xGWN1yRLzFmRn1e29kbSiO2W1JsxuJH-/view?usp=sharing) -3. Details about how does it work are in [NEP-518](https://github.com/near/NEPs/issues/518) +4. [NEP-518](https://github.com/near/NEPs/issues/518), the proposal that started it all