Use case using web3.js and ethers.js
The purpose of these scripts is to show how to build common cases of interaction with the blockchain using web3.js or ethers.js
📝
Requirements
Running
web3.js
-
run read script using web3.js
node scripts/web3_read.js
-
run write script using web3.js
require use a private key and an Infura key on goerli network set up on
.config.js
node scripts/web3_write.js
ethers.js
-
run read script using ethers.js
node scripts/ethers_read.js
-
run write script using ethers.js
require use a private key and an Infura key on goerli network set up on
.config.js
node scripts/ethers_write.js