Are there any brain wallet generators that can generate segwit (bc1) addresses yet?
Here's an example with bitcoinjs-lib:
let bitcoin = require('bitcoinjs-lib'); let assert = require('assert') let bigi = require('bigi') let NETWORK = bitcoin.networks.bitcoin; let brainwallet = "This is my brain wallet and it is less secure than a CSPRNG source"; let hash = bitcoin.crypto.sha256(brainwallet); let d = bigi.fromBuffer(hash); let nkeyp = new bitcoin.ECPair(d); let wif = nkeyp.toWIF(); let pubKey = nkeyp.getPublicKeyBuffer(); let scriptPubKey = bitcoin.script.witnessPubKeyHash.output.encode(bitcoin.crypto.hash160(pubKey)) let address = bitcoin.address.fromOutputScript(scriptPubKey); console.log(address); console.log(wif);
Memory Paper Wallet has the ability to generate bc1 addresses from a brain wallet phrase.
You can create one here at
You can download offline file for more security.
You could try brain2bip.com
Checkmark "Advanced wallet recovery," then select the BIP84 tab to see a list of segwit addresses and their private keys.