Read article at: https://guideofdapp.com/posts/ethers-vs-web3
git clone https://github.com/dibasdauliya/ethers-vs-web3
npx hardhat node # to run local blockchain server
npx hardhat run scripts/sample-script.js --network localhost # to deploy the contracts in own system