Send a message using a GMP gateway contract on Sepolia Testnet (Daily)
Still the same as yesterday using Remix ❗️
-
Create the BranchlessMath.sol file & copy the following script BranchlessMath.sol and paste it into the file
-
Create the file Primitives.sol & copy the script Primitives.sol and paste it into the file
-
Create file IGateway.sol & copy the script IGateway.sol and paste it into the file
-
Select the IGateway.sol file & Go to the Solidity Compiler menu, click Compile IGateway.sol
-
Go to the Deploy & Run Transactions menu
-
In the Environment column, select Injected Provider - Metamask (Change the metamask network to Sepolia Testnet)
-
Contract select IGateway - contract/IGateway.sol
-
Copy Gateway Address: SEpolia Testnet 0x000000007f56768de3133034fa730a909003a165
-
Paste the sc gateway address in the At Address column, then click the At Address button
-
Check the details under the Deployed/Unpinned Contracts section, click the submitMessage function details, fill in the details below
➖destinationAddress: Enter the address of the contract created from Sepolia
➖destinationNetwork: 5
➖executionGasLimit: 30000
➖data: 0x01
-
Click transaction, a pop up appears in the wallet, just wait until the transaction is successful
-
Check the Remix terminal copy tx hash check at https://eth-sepolia.blockscout.com/
-
Submit tx hash to https://testnet.analog.one
*The analog verification is a bit delayed, if there is an error just wait 30 minutes before verifying again