Created
June 30, 2022 20:20
-
-
Save daopunk/78987d8ef55852cee9cf6000af03a9d3 to your computer and use it in GitHub Desktop.
Reusable ethers.js methods for cleaner code
This file contains hidden or 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
| const { ethers } = require('hardhat'); | |
| require('dotenv').config(); | |
| // ethers methods | |
| const utils = ethers.utils; | |
| const BigNumber = ethers.BigNumber; | |
| const MaxUint256 = ethers.constants.MaxUint256 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment