Created
May 3, 2020 04:45
-
-
Save shogochiai/5518de3abe358c83bc9075e44a629968 to your computer and use it in GitHub Desktop.
For Tezos with ConseilJS
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
const conseil = require('conseiljs'); | |
require('dotenv').config(); | |
(async _=>{ | |
const addr = await conseil.TezosMessageUtils.writeAddress(process.argv[process.argv.length - 1]) | |
console.log(`${process.argv[process.argv.length - 1]} to 0x${addr}`) | |
console.log("Put it to .env") | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment