From 5d649c3e65bd39b41da715bab072def2ca819229 Mon Sep 17 00:00:00 2001 From: Samson Adesanoye Date: Thu, 27 Apr 2023 10:51:23 +0100 Subject: [PATCH] Update how-to-handle-on-chain-events.md Change from Ropsten to Sepolia since Ropsten has been deprecated. Fixed Broken link to github code sample --- .../how-to-handle-on-chain-events.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web3-actions/tutorials-and-quickstarts/how-to-handle-on-chain-events.md b/web3-actions/tutorials-and-quickstarts/how-to-handle-on-chain-events.md index 9742810..72d550f 100644 --- a/web3-actions/tutorials-and-quickstarts/how-to-handle-on-chain-events.md +++ b/web3-actions/tutorials-and-quickstarts/how-to-handle-on-chain-events.md @@ -61,13 +61,13 @@ Our simple Tic-Tac-Toe game can have four possible states: ### Prerequisite -**Create Two Accounts** - deploy the smart contract to any [network that is supported by Tenderly](https://docs.tenderly.co/supported-networks-and-languages). The most convenient way to do this is with [Remix](https://remix.ethereum.org/) and the [Metamask](https://metamask.io/) wallet plugin. You need two accounts that have a positive Ether balance. These accounts will represent the two players. For the purpose of this tutorial we will use Ropsten. If you plan to follow along with this tutorial, you can use the [Ropsten faucet](https://faucet.egorfine.com/) to add Ether to the accounts. +**Create Two Accounts** - deploy the smart contract to any [network that is supported by Tenderly](https://docs.tenderly.co/supported-networks-and-languages). The most convenient way to do this is with [Remix](https://remix.ethereum.org/) and the [Metamask](https://metamask.io/) wallet plugin. You need two accounts that have a positive Ether balance. These accounts will represent the two players. For the purpose of this tutorial we will use Sepolia. If you plan to follow along with this tutorial, you can use the [Sepolia faucet](https://sepoliafaucet.com/) to add Ether to the accounts. -**Compile the contract -** use the Remix IDE to compile the smart contract. Create a new contract file and add the code found [**here**](https://github.com/Tenderly/examples-web3-actions/blob/tic-tac-toe/tic-tac-toe/TicTacToe.sol). +**Compile the contract -** use the Remix IDE to compile the smart contract. Create a new contract file and add the code found [**here**](https://github.com/Tenderly/examples-web3-actions/blob/main/tic-tac-toe/TicTacToe.sol).
Compiling the contract in the Remix IDE

Compiling the contract in the Remix IDE

-**Deploy to a test network** - in your Metamask browser plugin, make sure Ropsten is selected as your preferred network. Next, go to the **“Deploy And Run Transactions”** section in Remix and select **`Injected Web3`**. Click **“Deploy”** once you’ve made sure that the account references the account in Metamask. +**Deploy to a test network** - in your Metamask browser plugin, make sure Ropsten is selected as your preferred network. Next, go to the **“Deploy And Run Transactions”** section in Remix and select **`Injected Provider`**. Click **“Deploy”** once you’ve made sure that the account references the account in Metamask.
Deploying the contract to a testnet

Deploying the contract to a testnet