Skip to content

Commit

Permalink
chore: change block explorer
Browse files Browse the repository at this point in the history
  • Loading branch information
jamalavedra committed Aug 8, 2024
1 parent 4fa2f8f commit 28a425b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const Provider1193ActionButton: React.FC<{
try {
tx = await contract.mint('0x64452Dff1180b21dc50033e1680bB64CDd492582');
console.log('Transaction hash:', tx);
handleSetMessage(`https://www.oklink.com/amoy/tx/${tx.hash}`);
handleSetMessage(`https://amoy.polygonscan.com/tx/${tx.hash}`);
const receipt = await tx.wait();
console.log('Transaction receipt:', receipt);
} catch (error: any) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const MintNFTButton: React.FC<{
const transactionHash = await mintNFT();
setLoading(false);
if (transactionHash) {
handleSetMessage(`https://www.oklink.com/amoy/tx/${transactionHash}`);
handleSetMessage(`https://amoy.polygonscan.com/tx/${transactionHash}`);
}
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const MintNFTSessionButton: React.FC<{
const transactionHash = await mintNFT();
setLoading(false);
if (transactionHash) {
handleSetMessage(`https://www.oklink.com/amoy/tx/${transactionHash}`);
handleSetMessage(`https://amoy.polygonscan.com/tx/${transactionHash}`);
}
};

Expand Down

0 comments on commit 28a425b

Please sign in to comment.