{"id":7500,"date":"2024-03-26T08:29:21","date_gmt":"2024-03-26T08:29:21","guid":{"rendered":"https:\/\/metaschool.so\/articles\/?p=7500"},"modified":"2024-03-26T08:29:25","modified_gmt":"2024-03-26T08:29:25","slug":"difference-between-public-key-and-ethereum-address","status":"publish","type":"post","link":"https:\/\/metaschool.so\/articles\/difference-between-public-key-and-ethereum-address\/","title":{"rendered":"Difference Between Public Key and Ethereum Address"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_56_1 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/metaschool.so\/articles\/difference-between-public-key-and-ethereum-address\/#Public_Key_The_Open_Door_Policy\" title=\"Public Key: The Open Door Policy\">Public Key: The Open Door Policy<\/a><ul class='ez-toc-list-level-3'><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/metaschool.so\/articles\/difference-between-public-key-and-ethereum-address\/#Example_Sharing_Your_Public_Key\" title=\"Example: Sharing Your Public Key\">Example: Sharing Your Public Key<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/metaschool.so\/articles\/difference-between-public-key-and-ethereum-address\/#Ethereum_Address_The_Delivery_Point\" title=\"Ethereum Address: The Delivery Point\">Ethereum Address: The Delivery Point<\/a><ul class='ez-toc-list-level-3'><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/metaschool.so\/articles\/difference-between-public-key-and-ethereum-address\/#Example_Sharing_Your_Ethereum_Address\" title=\"Example: Sharing Your Ethereum Address\">Example: Sharing Your Ethereum Address<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/metaschool.so\/articles\/difference-between-public-key-and-ethereum-address\/#Key_Differences_to_Remember\" title=\"Key Differences to Remember\">Key Differences to Remember<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/metaschool.so\/articles\/difference-between-public-key-and-ethereum-address\/#Conclusion\" title=\"Conclusion\">Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n\n<p>Understanding the difference between a public key and an Ethereum address is an important step. While they&#8217;re both crucial for sending and receiving cryptocurrency, they serve distinct purposes. Here&#8217;s a breakdown to shed some light on these concepts:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"public-key-the-open-door-policy\"><span class=\"ez-toc-section\" id=\"Public_Key_The_Open_Door_Policy\"><\/span><strong>Public Key: The Open Door Policy<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Imagine you have a secure house with a fancy lock. To open the door, someone needs a specific key. In the world of cryptocurrency, the <strong>public key<\/strong> is like that special key \u2013 it&#8217;s a unique piece of information that allows others to send you funds. Think of it as a publicly known address where people can deliver your crypto packages.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>How it&#8217;s Generated:<\/strong>&nbsp;Public keys are mathematically derived from a&nbsp;<strong>private key<\/strong>, which is like the master key to your house. You keep this private key safe and never share it with anyone.<\/li><li><strong>Transparency:<\/strong>&nbsp;Your public key is designed to be shared. It&#8217;s visible on the blockchain, allowing anyone to see it and send you cryptocurrency.<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"example-sharing-your-public-key\"><span class=\"ez-toc-section\" id=\"Example_Sharing_Your_Public_Key\"><\/span><strong>Example: Sharing Your Public Key<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>If you want someone to send you Ethereum (ETH), you would give them your public key. It might look something like this: <code>0x1234567890AbCdEf1234567890AbCdEf1234567890AbCdEf1234<\/code><\/p>\n\n\n\n<p>Anyone with this key can send ETH to your address, but they can&#8217;t steal it without your private key.<\/p>\n\n\n\n<p><strong>\ud83d\udd25 Check this course out:<\/strong>\u00a0<a href=\"https:\/\/metaschool.so\/courses\/one-piece-personality-dapp-solidity\" target=\"_blank\" rel=\"noreferrer noopener\">Build a One Piece Personality dApp With Solidity<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"ethereum-address-the-delivery-point\"><span class=\"ez-toc-section\" id=\"Ethereum_Address_The_Delivery_Point\"><\/span><strong>Ethereum Address: The Delivery Point<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Now, while the public key acts like the special key to open your door, it&#8217;s not the most convenient address for everyday use. It&#8217;s a long string of characters that can be cumbersome to type or share. This is where the <strong>Ethereum address<\/strong> comes in.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Derived from Public Key:<\/strong>&nbsp;The Ethereum address is actually a shortened, hashed version of your public key. Think of it like a nickname for your long public key address \u2013 shorter, easier to remember, and easier to share.<\/li><li><strong>Interaction Point:<\/strong>&nbsp;Your Ethereum address is what you use to interact with the Ethereum network. It&#8217;s the address you provide to exchanges or other users when you want to send or receive ETH.<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"example-sharing-your-ethereum-address\"><span class=\"ez-toc-section\" id=\"Example_Sharing_Your_Ethereum_Address\"><\/span><strong>Example: Sharing Your Ethereum Address<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>When someone asks for your Ethereum address, you can share the shorter, more manageable version derived from your public key. It might look something like this:<code>0xAbCdEf1234<\/code><\/p>\n\n\n\n<p>This shorter address is all someone needs to send you ETH.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"key-differences-to-remember\"><span class=\"ez-toc-section\" id=\"Key_Differences_to_Remember\"><\/span><strong>Key Differences to Remember<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Here&#8217;s a table summarizing the key differences between public keys and Ethereum addresses:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Feature<\/th><th>Public Key<\/th><th>Ethereum Address<\/th><\/tr><\/thead><tbody><tr><td>Purpose<\/td><td>Used to receive crypto<\/td><td>Used to receive crypto (shorter version of public key)<\/td><\/tr><tr><td>Derivation<\/td><td>Generated from private key<\/td><td>Derived from public key (hashed)<\/td><\/tr><tr><td>Sharing<\/td><td>Can be shared publicly<\/td><td>Can be shared publicly<\/td><\/tr><tr><td>Analogy<\/td><td>Special key to open door<\/td><td>Nickname for your public key address<\/td><\/tr><\/tbody><\/table><figcaption>Public Key vs Ethereum Address<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Both public keys and Ethereum addresses are essential for interacting with the Ethereum network. Your public key allows others to send you funds, while your Ethereum address provides a convenient way to share your public key information. Keep your private key safe and never share it, and use your public key or Ethereum address to receive cryptocurrency. Now you have the keys to understanding these cryptographic concepts!<\/p>\n\n\n\n<p><strong>Try it out, ask us questions, and tell us how it went by tagging Metaschool on Social Media.<\/strong><\/p>\n\n\n\n<p><strong>Follow us on<\/strong>&nbsp;\u2013<\/p>\n\n\n\n<p>\ud83d\udd2eTwitter \u2013&nbsp;<a href=\"https:\/\/twitter.com\/0xmetaschool\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/twitter.com\/0xmetaschool<\/a><\/p>\n\n\n\n<p>\ud83d\udd17LinkedIn \u2013&nbsp;<a href=\"https:\/\/www.linkedin.com\/company\/0xmetaschool\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.linkedin.com\/company\/0xmetaschool\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":16,"featured_media":7501,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[292],"tags":[51,31,29,74],"class_list":["post-7500","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-answers","tag-blockchain","tag-ethereum-blockchain","tag-web3","tag-web3-glossary"],"_links":{"self":[{"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/posts\/7500","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/comments?post=7500"}],"version-history":[{"count":1,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/posts\/7500\/revisions"}],"predecessor-version":[{"id":7502,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/posts\/7500\/revisions\/7502"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/media\/7501"}],"wp:attachment":[{"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/media?parent=7500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/categories?post=7500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/tags?post=7500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}