Skip to content

Instantly share code, notes, and snippets.

View mehranhydary's full-sized avatar
🚀
Innovating

𝖒 mehranhydary

🚀
Innovating
View GitHub Profile
/**
* 1. Initialize new node project (npm init -y)
* 2. Run: npm install ethers
* 3. Add private key where PRIVATE_KEY
* 4. Optionally, update gas price (line 29) or chosen gas limit
* 4. Run: node score-claim.js
*/
// Imports
const ethers = require("ethers");
const { parseUnits } = require("@ethersproject/units");