0

I want to create a offline paper wallet and I saw some guides on YouTube that guide you to myetherwallet.com to download the code locally (like : https://www.youtube.com/watch?v=Bv8OGNGVOhY). The problem is that those videos is very old, and the website change (I can't find this option..). Does anyone know a legitimate source code for the wallet generator ? I WANT THE ORIGINAL ONE ! because if not, someone can easily add a line pf code to create the same X address (and he has a copy or something)-This scares me the most! Why no official offline paper wallet on the website ? (mytherwallet.com or the actual "official" website). Thank in advance.

1
  • This question is possibly a duplicate of this question but the top-rated answer references the offline version of MyEtherWallet which seems to have been archived
    – vlj614
    Commented Apr 16, 2022 at 23:14

1 Answer 1

1

Offline paper wallets are technically just private keys or mnemonic seed phrases stored predominantly offline. As with all wallets, they can receive ETH without you having to connect to the internet. However, if you want to send ETH from your wallet (or connect to some other web3 dApp), you'll have to connect to the internet and type in your private key or mnemonic phrase at some point. Encrypting your usb would likely make it more inconvenient to hack your wallet if it's misplaced or stolen but since you have to type in your private key/mnemonic phrase, you still have to be careful of phishing attacks and other scams whenever you use it online.

The video only suggests storing the private key. However, I recommend storing the mnemonic seed phrase instead. You'll be able to generate more wallets with the phrase and it can be used across different blockchains.

If you still don't want to use MetaMask, Trust Wallet, CoinTool or some other online wallet generator, here are a few options:

const ethers = require('ethers')
const wallet = ethers.Wallet.createRandom()
console.log('address:', wallet.address)
console.log('mnemonic:', wallet.mnemonic.phrase)
console.log('privateKey:', wallet.privateKey)
  • Or generate and save it to a csv file in 8 lines:
const fs = require('fs');
const ethers = require('ethers');
const wallet = ethers.Wallet.createRandom();
fs.appendFile(
    'myWallet.csv',
    `address,mnemonic,privateKey\n${wallet.address},${wallet.mnemonic.phrase},${wallet.privateKey}\n`,
    (err) => {if(err) console.error(err)}
);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.