Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
function printOurSailor(allPublicKeys, candidatesSeed){
for(var candidateSeed of candidatesSeed){
let keychain = this.CryptoService.mnemonicToKeychain(candidateSeed)
let seedHex = this.CryptoService.keychainToSeedHex(keychain)
let privateKey = this.CryptoService.seedHexToPrivateKey(seedHex)
let publicKey = this.CryptoService.privateKeyToBitcloutPublicKey(privateKey, "mainnet")
console.log("Our sailor is" + publicKey + " mnemonic: " + candidateSeed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment