ERC20 क्या है?
ERC20 वह token standard है जो यह तय करता है कि fungible tokens Ethereum और हर EVM compatible network पर कैसे काम करेंगे। यह कोई software नहीं है, बल्कि एक specification है: functions और events की एक छोटी सी list जिसे किसी smart contract को implement करना जरूरी है, ताकि wallets, exchanges और दूसरे contracts उस token के साथ बिना कुछ और जाने interact कर सकें।
Standard क्या-क्या तय करता है
यह standard छह functions और दो events को mandatory रखता है। totalSupply बताता है कि कितने tokens मौजूद हैं। balanceOf किसी address का balance return करता है। transfer tokens को एक address से दूसरे पर भेजता है। approve और allowance से user किसी contract को अपनी तरफ से खर्च करने की permission देता है, और यही वो mechanism है जिसकी वजह से decentralized exchanges आज exist कर पाते हैं। transferFrom उसी delegated spend को execute करता है। चूंकि हर ERC20 token एक ही interface expose करता है, इसलिए जो wallet किसी एक को support करता है, वो सारे को बिना किसी extra काम के support कर लेता है।
ERC20 बनाम बाकी Token Standards
ERC20 fungible tokens के लिए है, यानी हर unit दूसरे के बराबर और interchangeable होती है। ERC721 non-fungible tokens के लिए है, जहां हर एक unique होता है। EVM के बाहर इनके equivalents अलग तरीके से काम करते हैं: Solana SPL token program use करता है, जो token accounts को protocol level पर ही handle करता है, न कि हर token के लिए एक अलग contract के जरिए। इसका practical मतलब यह है कि कोई ERC20 token सीधे Solana पर shift नहीं कर सकता, उसे bridge करके फिर से issue करना पड़ता है।
एक ERC20 Token कैसे बनाएं
इसे deploy करने का मतलब है एक ऐसा contract लिखना या reuse करना जो इस interface को implement करे, फिर उसमें supply, decimals, name और symbol set करके on chain publish कर देना। tokenomics से जुड़े decisions, यानी कितना mint करना है और किसे मिलेगा, code से कहीं ज्यादा मायने रखते हैं, क्योंकि code अब लगभग boilerplate जैसा हो चुका है। अगर आप Solidity में नहीं लिखना चाहते, तो आप Smithii के Token Creator on Ethereum से भी एक deploy कर सकते हैं।
FAQ
ERC20 वह standard है जो define करता है कि fungible tokens Ethereum और EVM compatible chains पर कैसे behave करेंगे। यह उन functions को specify करता है जिन्हें एक token contract में implement करना जरूरी है ताकि wallets और exchanges उसके साथ interact कर सकें।
ERC20 fungible tokens के लिए है, जहां हर unit identical और interchangeable होती है। ERC721 non-fungible tokens के लिए है, जहां हर token unique और individually identifiable होता है।
ये किसी भी EVM compatible chain पर काम करते हैं, जैसे Polygon, Base या Arbitrum। किसी non-EVM chain जैसे Solana पर जाने के लिए token को bridge करके उस chain के अपने standard के हिसाब से दोबारा issue करना पड़ता है।
नहीं। Contract का code काफी हद तक standardized है, और Smithii के Token Creator जैसे tools से आप बस supply, name, symbol और decimals भरकर एक ERC20 token deploy कर सकते हैं।
अपने competitors से आगे निकलना है?
हमारा Newsletter subscribe करें और हर हफ्ते web3 builders के लिए तैयार की गई Blockchain news पाएं।


