From 824f64159f7ed90c029dc4f7374261785d912f66 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Wed, 11 Oct 2023 22:09:13 -0700 Subject: [PATCH] Use GitHub-flavored markdown admonition --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.47.3