From 6137724dcbccfad616574956cb728d3226a9cc51 Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 12 Apr 2022 12:29:40 +0200 Subject: [PATCH] add shortcut and wording --- libs/remix-ui/workspace/src/lib/templates/examples.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/remix-ui/workspace/src/lib/templates/examples.ts b/libs/remix-ui/workspace/src/lib/templates/examples.ts index 5a7efd61f9..c01faed79f 100644 --- a/libs/remix-ui/workspace/src/lib/templates/examples.ts +++ b/libs/remix-ui/workspace/src/lib/templates/examples.ts @@ -257,9 +257,9 @@ contract BallotTest { /* eslint-disable no-useless-escape */ const deployWithWeb3 = ` -// This script example is to deploy the "Storage" contract using Web3 library. +// This script can be used to deploy the "Storage" contract using Web3 library. // Please make sure to compile "./contracts/1_Storage.sol" file before running this script. -// Use Right click -> "Run" from context menu of the file to run the script. +// And Right click -> "Run" from context menu of the file to run the script. Shortcut: Ctrl+Shift+S import { deploy } from './web3.ts' @@ -274,9 +274,9 @@ import { deploy } from './web3.ts' })()` const deployWithEthers = ` -// This script example is to deploy the "Storage" contract using ethers.js library. +// This script can be used to deploy the "Storage" contract using ethers.js library. // Please make sure to compile "./contracts/1_Storage.sol" file before running this script. -// Use Right click -> "Run" from context menu of the file to run the script. +// And Right click -> "Run" from context menu of the file to run the script. Shortcut: Ctrl+Shift+S import { deploy } from './ethers.ts'