This is part of my Solidity and Javascript Blockchain Journey
Video Link : ⌨️ (05:30:42) Lesson 5: Ethers.js Simple Storage
git clone https://github.com/Sarthak-69/Ethers-Simple-Storage.git
npm install
Also install yarn
npm install --global yarn
You can change the RPC_URL
$Env:RPC_URL = <paste your url>
You can change the PRIVATE_KEY
$Env:PRIVATE_KEY = <paste your key>
Note: You can use Ganache to generate RPC_URL and PRIVATE_KEY
After setting the environment variables use
node deploy.js
IMPORTANT
Don't use private key with real funds in it. Always use private key with test ether.