add shortcut and wording

pull/5370/head
yann300 3 years ago
parent c2cf20972d
commit 6137724dcb
  1. 8
      libs/remix-ui/workspace/src/lib/templates/examples.ts

@ -257,9 +257,9 @@ contract BallotTest {
/* eslint-disable no-useless-escape */ /* eslint-disable no-useless-escape */
const deployWithWeb3 = ` 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. // 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' import { deploy } from './web3.ts'
@ -274,9 +274,9 @@ import { deploy } from './web3.ts'
})()` })()`
const deployWithEthers = ` 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. // 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' import { deploy } from './ethers.ts'

Loading…
Cancel
Save