|
|
@ -248,7 +248,8 @@ contract BallotTest { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
` |
|
|
|
` |
|
|
|
const deployWithWeb3 = `(async () => {
|
|
|
|
const deployWithWeb3 = `// Right click on the script name and hit "Run" to execute
|
|
|
|
|
|
|
|
(async () => { |
|
|
|
try { |
|
|
|
try { |
|
|
|
console.log('Running deployWithWeb3 script...') |
|
|
|
console.log('Running deployWithWeb3 script...') |
|
|
|
|
|
|
|
|
|
|
@ -280,7 +281,8 @@ const deployWithWeb3 = `(async () => { |
|
|
|
} |
|
|
|
} |
|
|
|
})()` |
|
|
|
})()` |
|
|
|
|
|
|
|
|
|
|
|
const deployWithEthers = `(async function() {
|
|
|
|
const deployWithEthers = `// Right click on the script name and hit "Run" to execute
|
|
|
|
|
|
|
|
(async () => { |
|
|
|
try { |
|
|
|
try { |
|
|
|
console.log('Running deployWithEthers script...') |
|
|
|
console.log('Running deployWithEthers script...') |
|
|
|
|
|
|
|
|
|
|
|