This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
// requires packages "Agila Theme" and "Base16 Color Schemes" | |
{ | |
"caret_extra_bottom": 2, | |
"caret_extra_top": 2, | |
"caret_extra_width": 1, | |
"caret_style": "phase", | |
"color_scheme": "Packages/Base16 Color Schemes/Themes/base16-oceanicnext.tmTheme", | |
"create_window_at_startup": false, | |
"ensure_newline_at_eof_on_save": true, |