Ethereum Wallet Offline Generate करें: पूरी गाइड
विषय सूची
Internet से connected रहते हुए Ethereum wallet generate करना सुविधाजनक है। यह अनावश्यक जोखिम भी है। आपकी seed phrase या private key networked device पर मौजूद होने का हर सेकंड, यह keyloggers, clipboard malware, excessive permissions वाले browser extensions और remote access trojans के संपर्क में है। समाधान सीधा है: wallet offline generate करें, backup लिख लें, और केवल public address ही online लाएं।
यह गाइड पूरी technical process बताती है --- entropy generation से usable Ethereum address तक --- और समझाती है कि आपकी offline-generated keys Layer 2 networks जैसे Polygon, Arbitrum, Optimism और Base पर seamlessly क्यों काम करती हैं।
Offline क्यों Generate करें?¶
Ethereum wallet मूलतः सिर्फ एक private key है। जो उस key को रखता है वह funds control करता है। Offline generation network vector को पूरी तरह समाप्त करता है।
Ideal setup:
- Clean machine (freshly installed OS, या live USB distribution)।
- किसी भी प्रकार का कोई network connection नहीं।
- ऐसा tool जो Web Crypto API का उपयोग करके पूरी तरह browser में चलता है।
- seed phrase record करने के लिए कागज़ या metal।
SafeSeed का Ethereum Seed Phrase Generator बिल्कुल इसी scenario के लिए designed है। यह पूरी तरह client-side चलता है। Page load करें, internet disconnect करें, और पूर्ण isolation में wallet generate करें। Offline security practices का व्यापक दृश्य पाने के लिए Cold Storage Guide 2026 देखें।
secp256k1 और Keccak-256¶
दो cryptographic primitives Ethereum के key system को define करते हैं: key generation के लिए secp256k1 elliptic curve, और address derivation के लिए Keccak-256।
secp256k1: Elliptic Curve¶
Ethereum ने Bitcoin से secp256k1 curve inherit किया। Curve की defining equation है:
y^2 = x^3 + 7 (mod p)
जहां p एक 256-bit prime number है। System की security elliptic curve discrete logarithm problem (ECDLP) पर टिकी है। secp256k1 vs ed25519 में दोनों curves की तुलना देखें।
Keccak-256: Public Key से Address तक¶
Ethereum public key को सीधे address के रूप में उपयोग नहीं करता। इसके बजाय, uncompressed public key पर Keccak-256 (SHA-3 का variant) apply करता है, 32-byte hash produce करता है। उस hash के आखिरी 20 bytes 0x prefix के साथ Ethereum address बन जाते हैं।
Private Key (32 bytes)
→ secp256k1 multiplication → Public Key (64 bytes)
→ Keccak-256 hash → 32 bytes
→ आखिरी 20 bytes लें → Ethereum Address (0x...)
Seed Phrase से ETH Address तक¶
अधिकांश modern wallets raw private keys manage करने को नहीं कहते। इसके बजाय, वे BIP39 seed phrases और HD wallet derivation का उपयोग करते हैं।
Step 1: Entropy Generate करें¶
प्रक्रिया 128 या 256 bits cryptographically secure randomness (entropy) से शुरू होती है। SafeSeed पर, यह randomness browser के crypto.getRandomValues() से आती है। BIP39 Explained में entropy कैसे शब्दों में बदलती है इसका पूरा breakdown देखें।
Step 2: Entropy से Mnemonic Words¶
Entropy को SHA-256 से hash किया जाता है checksum produce करने के लिए। Checksum bits entropy में जोड़े जाते हैं, और combined bit string 11-bit segments में split होती है। हर segment BIP39 word list के 2,048 शब्दों में से एक पर map होता है।
Step 3: Mnemonic से Master Seed¶
Mnemonic words (plus optional passphrase) PBKDF2-HMAC-SHA512 में 2,048 iterations के साथ feed होते हैं, 512-bit master seed produce करते हुए।
Step 4: Master Seed से Master Key¶
512-bit seed HMAC-SHA512 में "Bitcoin seed" key के साथ feed होती है। Output split होता है: बाएं 256 bits master private key बनते हैं, दाएं 256 bits master chain code बनते हैं।
Step 5: Ethereum Key Derive करें¶
Ethereum derivation path m/44'/60'/0'/0/0 का उपयोग करता है जैसा BIP44 द्वारा defined है। हर level parent key और chain code को HMAC-SHA512 के माध्यम से combine करके child key produce करता है।
Step 6: Private Key से Address¶
Derived private key secp256k1 generator point से multiply होती है public key produce करने के लिए। Public key Keccak-256 से hash होती है, और आखिरी 20 bytes आपका Ethereum address बन जाते हैं।
SafeSeed का Ethereum Private Key Generator आपको इस derivation का हर step देखने देता है।
Layer 2 Networks पर Same Keys¶
Ethereum की सबसे practical properties में से एक यह है कि आपकी keys सभी EVM-compatible networks पर identically काम करती हैं। वही private key जो Ethereum mainnet पर address 0xABC... control करती है, Polygon, Arbitrum, Optimism और Base पर भी 0xABC... control करती है।
Chains के बीच जो अलग है वह chain ID है --- transaction signatures में embedded network identifier (EIP-155) replay attacks रोकने के लिए।
आपके offline generation workflow के लिए, इसका मतलब है कि एक single seed phrase backup सभी EVM chains पर assets protect करता है। एक बार generate करें, एक बार backup लें, और हर जगह same address उपयोग करें।
EVM chains पर shared addresses के security implications के बारे में और जानने के लिए EVM Address Security देखें।
Address Validator से Verify करें¶
Offline wallet generate करने के बाद, कोई funds भेजने से पहले address correctly formatted है यह verify करें। Ethereum Address Validator से confirm करें:
- Format check: Address
0xसे शुरू होता है और exactly 40 hexadecimal characters हैं। - EIP-55 checksum: Mixed-case encoding correct है।
आप validator air-gapped machine पर भी चला सकते हैं। Tool खोलें, disconnect करें, address paste करें और verify करें।
Chains में address validation कैसे काम करती है इसकी detailed explanation के लिए How to Validate a Crypto Address देखें।
MetaMask या अन्य Wallets में Export करें¶
MetaMask में Import करना¶
MetaMask BIP39 seed phrases सीधे accept करता है:
- Clean browser profile पर MetaMask install करें।
- "Import an existing wallet" select करें।
- अपने 12 या 24 words enter करें।
- Local password set करें।
MetaMask m/44'/60'/0'/0/0 पर key derive करेगा और corresponding address display करेगा। Verify करें कि यह offline generate किए address से match करता है।
Hardware Wallet में Import करना¶
Ledger और Trezor devices initialization के दौरान BIP39 seed phrases accept करते हैं। Hardware device की screen पर सीधे phrase enter करें --- कभी computer पर नहीं।
Multiple Accounts¶
Derivation path m/44'/60'/0'/0/0 पहला account produce करता है। Last index increment करने से additional addresses मिलते हैं: m/44'/60'/0'/0/1, m/44'/60'/0'/0/2 इत्यादि। सभी same seed phrase से derived।
Offline Ethereum wallet generation paranoia नहीं है --- यह basic operational security है। Disconnect करने, generate करने और transcribe करने में लगने वाले कुछ minutes एक investment हैं जो हर ETH, token और NFT को protect करते हैं जो आप कभी उस address पर रखेंगे, हर EVM chain पर, जब तक आप keys रखते हैं। Cryptography sound है। एकमात्र variable यह है कि आप इसे कितनी सावधानी से handle करते हैं।