Most Secure Way To Create a Bitcoin Paper Wallet 2022?

I have seen some bad stories about bitcoinpaperwallet.com And really don’t trust anything else generating my public and private keys other than doing it locally on a computer that’s not connected to the Internet.

This is for a cold storage long-term savings “paper” wallet.

What is the best way to go about this?

Is the following the right way to do it? Can I be sure that the underlying packages are secure?

const bitcoin = require('bitcoinjs-lib')

// Generate a random private key const keyPair = bitcoin.ECPair.makeRandom() const privateKey = keyPair.toWIF() const publicKey = keyPair.getPublicKeyBuffer()

// Generate the public address const { address } = bitcoin.payments.p2pkh({ pubkey: publicKey })

console.log(Private Key: ${privateKey}) console.log(Public Address: ${address})



from Recent Questions - Bitcoin Stack Exchange https://ift.tt/ESBdpGs
via IFTTT

Popular posts from this blog

Bitcoin Mining Could Be Strengthening The Ruble, Russian Central Bank Says

Crypto Exec Warns Tokenization Is Moving Faster Than Expected

Bitwise Clients Pour $69M Into Solana as Bulls Fight to Reclaim $200 Resistance Zone