From: Ardis Lu Date: Thu, 12 Oct 2023 05:09:13 +0000 (-0700) Subject: Use GitHub-flavored markdown admonition X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=824f64159f7ed90c029dc4f7374261785d912f66;p=minimal-eth-burner Use GitHub-flavored markdown admonition --- diff --git a/README.md b/README.md index 198527f..98fdfd6 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,8 @@ This repository contains the minimal amount of code to create a new smart contra See example JavaScript below. Copy this code into the DevTools console in any web browser where you have a wallet (e.g., MetaMask) installed. -**WARNING: all ETH sent in this transaction will be irreversibly destroyed.** +> [!WARNING]
+> All ETH sent in this transaction will be irreversibly destroyed. ```javascript const addr = (await ethereum.request({ method: 'eth_requestAccounts' }))[0]; // Your current wallet address