|
|
|
@ -259,7 +259,7 @@ contract BallotTest { |
|
|
|
|
const deployWithWeb3 = ` |
|
|
|
|
// 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.
|
|
|
|
|
// And Right click -> "Run" from context menu of the file to run the script. Shortcut: Ctrl+Shift+S
|
|
|
|
|
// And use Right click -> "Run" from context menu of the file to run the script. Shortcut: Ctrl+Shift+S
|
|
|
|
|
|
|
|
|
|
import { deploy } from './web3.ts' |
|
|
|
|
|
|
|
|
@ -276,7 +276,7 @@ import { deploy } from './web3.ts' |
|
|
|
|
const deployWithEthers = ` |
|
|
|
|
// 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.
|
|
|
|
|
// And Right click -> "Run" from context menu of the file to run the script. Shortcut: Ctrl+Shift+S
|
|
|
|
|
// And use Right click -> "Run" from context menu of the file to run the script. Shortcut: Ctrl+Shift+S
|
|
|
|
|
|
|
|
|
|
import { deploy } from './ethers.ts' |
|
|
|
|
|
|
|
|
|