Created
August 16, 2021 20:39
-
-
Save cjpais/518a7b6a358ef897174e5d94bcb8eaed to your computer and use it in GitHub Desktop.
Get OpenZeppelin Role Bytes
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
var ethers = require("ethers"); | |
let role = ethers.utils.keccak256(ethers.utils.toUtf8Bytes('MINTER_ROLE')); | |
console.log(role) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment