<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Anantha Perumal on Medium]]></title>
        <description><![CDATA[Stories by Anantha Perumal on Medium]]></description>
        <link>https://medium.com/@anantha-perumal?source=rss-f48367757549------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*sp7P5SvhpBhqVT2WJ9ZLLg.jpeg</url>
            <title>Stories by Anantha Perumal on Medium</title>
            <link>https://medium.com/@anantha-perumal?source=rss-f48367757549------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 19:14:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@anantha-perumal/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[[Part-5] : How to create YOUR own cryptocurrency!!!]]></title>
            <link>https://medium.com/coinmonks/part-5-how-to-create-your-own-cryptocurrency-e05efaf067ec?source=rss-f48367757549------2</link>
            <guid isPermaLink="false">https://medium.com/p/e05efaf067ec</guid>
            <category><![CDATA[flask]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <dc:creator><![CDATA[Anantha Perumal]]></dc:creator>
            <pubDate>Thu, 04 Feb 2021 05:40:34 GMT</pubDate>
            <atom:updated>2021-02-04T08:18:53.494Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to create YOUR own cryptocurrency!!!</h3><h4>Part - 5: Landing page and Database Access</h4><p>Welcome back, guys🤗🤗…In my previous blogs, we discussed some<a href="https://medium.com/coinmonks/how-to-create-my-own-cryptocurrency-84eb1246e39f"> basic introduction to blockchain</a>, then <a href="https://medium.com/coinmonks/part-2-how-to-create-your-own-cryptocurrency-a4726d24c5ce">how blockchain is made</a> after that, we discussed <a href="https://medium.com/coinmonks/part-3-how-to-create-your-own-cryptocurrency-bb6c75353218">how data in blockchain are almost impossible to change</a> and at last, we discussed <a href="https://medium.com/coinmonks/part-4-how-to-create-your-own-cryptocurrency-654b20ffc3a6">hosting our application with flask</a>. Those who missed it please have a look over my previous blogs so that you will enjoy reading here😊😊.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*pQbUoTKuWaQl34zzobDTSg.png" /><figcaption>pic source <a href="https://www.google.com/url?sa=i&amp;url=https%3A%2F%2Fwww.bmc.com%2Fblogs%2Fdbms-database-management-systems%2F&amp;psig=AOvVaw1kdw3De6Vduzy6Gu9FbZ2C&amp;ust=1612502711864000&amp;source=images&amp;cd=vfe&amp;ved=0CAIQjRxqFwoTCKjR9u--z-4CFQAAAAAdAAAAABAJ">here</a></figcaption></figure><p>What’s our next step here? we are gonna provide database access to our application in this blog💥💥 and to render landing page to our application with login and sign up page, Hence I have designed a simple landing page having options to sign in and sign up. <strong>Have a demo </strong><a href="https://cryptocurrency-landing-page.herokuapp.com/"><strong>here</strong></a><strong> </strong>😍😍!!</p><p>In the <a href="https://medium.com/coinmonks/part-4-how-to-create-your-own-cryptocurrency-654b20ffc3a6">previous blog</a>, we had hard coded webpage as “&lt;h1&gt;Web app hosted&lt;/h1&gt;”, the recommended way is to design your page and to render that page. To render we need to use <strong><em>render_template</em></strong> function from <strong><em>flask</em></strong> package, hence modify your code in <em>app.py</em> with below to render a webpage.</p><pre>from flask import Flask, render_template<br>def index():<br>    return render_template(&#39;index.html&#39;)</pre><p>You need to design your webpage in index.html file (you can access my webpage <a href="https://cryptocurrency-landing-page.herokuapp.com/"><strong><em>here</em></strong></a>). Flask needs your file to be placed under a folder with defined names hence follow the folder naming as below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/297/1*w-8Fo1smBh_jYxyokBI_rA.png" /><figcaption>Project Structure</figcaption></figure><p>The conventions are the file given inside render_template must be under <em>templates folder </em>and other files like CSS, JS, images etc should be placed under the static folder and it should be referred in href/src as ‘<em>{{ url_for(‘static’,filename=’&lt;path&gt;’) }}’.</em></p><p>Execute the command <strong><em>python app.py </em></strong>and you can see your webpage rendered at <a href="http://localhost:7070/">http://localhost:7070</a> 😎😎</p><p>Let’s get our hands-on keyboard, we are going to connect our flask application with MySQL database 💾, in order to connect we need to install a package to our virtual environment. Execute the below command in terminal to install ‘<strong><em>Flask-MySQLdb</em></strong>’.</p><pre>pip install Flask-MySQLdb</pre><p>And I have added below code in <em>app.py</em> to set MySQL properties</p><pre>app.config[&#39;MYSQL_HOST&#39;] = &#39;localhost&#39;<br>app.config[&#39;MYSQL_USER&#39;] = &#39;root&#39;<br>app.config[&#39;MYSQL_PASSWORD&#39;] = &#39;&#39;<br>app.config[&#39;MYSQL_DB&#39;] = &#39;crypto&#39;<br>app.config[&#39;MYSQL_CURSORCLASS&#39;] = &#39;DictCursor&#39;</pre><pre>mysql = MySQL(app)</pre><p>In the <a href="https://medium.com/coinmonks/part-4-how-to-create-your-own-cryptocurrency-654b20ffc3a6">previous blog</a>, we had already created a table <em>‘Blockchain’</em> for storing blocks likewise we are going to create a table for storing information about the user by executing below command,</p><pre>use crypto; //remember to switch to our database<br>create table users (name varchar(30), email varchar(30), username varchar(30), password varchar(100));</pre><p>Let’s have our code organized hence we will have a separate file <em>‘sqlhelpers.py’</em> to maintain database-related functions. Update sqlhelpers.py with the below code.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/53f646593abf2387a016b8d0b2feadbc/href">https://medium.com/media/53f646593abf2387a016b8d0b2feadbc/href</a></iframe><p>Finally our app.py with db access will looks like 😍😍</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3fd461cda6a4508b8f0b5230d4e7bbe2/href">https://medium.com/media/3fd461cda6a4508b8f0b5230d4e7bbe2/href</a></iframe><p>Hence accessing our application will create a new table ‘<em>demo</em>’ and insert a dummy value into it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/414/1*SX5Xao3gQkTDdk6nec4JXQ.png" /><figcaption>Output Screenshot</figcaption></figure><p>The above figure explains there is no table named ‘demo’ initially after accessing application @ <a href="http://localhost:7070/">http://localhost:7070</a> a new table gets created and some values are populated.</p><p>Great job guys, we have granted database access to our application.</p><p>For those who want source code, you can access the updated code <a href="https://github.com/AnanthaPerumal/BlockChain">here</a>.</p><p>Thank you so much for spending your valuable time in my blog. Please support me by doing claps at the rate of 1–50 by the way you feel it worth. If you have any doubts regarding this blog or suggestion to improve it please do comment below and share it to those who want to know about blockchain.</p><p>Stay tuned for next part as it was going to be <strong>more interesting</strong>. you can find next part link here when it gets published else follow me to get notified. I will get you things as simple as you could understand😉😉.</p><p>Have a good day😊😊</p><blockquote>Join Coinmonks <a href="https://t.me/joinchat/EPmjKpNYwRMsBI4p">Telegram group</a> and learn about crypto trading and investing</blockquote><h4>Also, Read</h4><ul><li>What is a <a href="https://blog.coincodecap.com/what-are-flash-loans-on-ethereum">Flash loan</a>?</li><li>The Best <a href="https://medium.com/coinmonks/crypto-trading-bot-c2ffce8acb2a">Crypto Trading Bot</a> | <a href="https://blog.coincodecap.com/grid-trading">Grid Trading</a></li><li><a href="https://medium.com/coinmonks/3commas-review-an-excellent-crypto-trading-bot-2020-1313a58bec92">3Commas Review</a> | <a href="https://medium.com/coinmonks/pionex-review-exchange-with-crypto-trading-bot-1e459d0191ea">Pionex Review</a> | <a href="https://blog.coincodecap.com/coinrule-review-a-perfect-trading-bot">Coinrule review</a></li><li><a href="https://medium.com/coinmonks/aax-exchange-review-2021-67c5ea09330c">AAX Exchange Review</a> | <a href="https://medium.com/coinmonks/deribit-review-options-fees-apis-and-testnet-2ca16c4bbdb2">Deribit Review</a> |<a href="https://medium.com/coinmonks/ftx-crypto-exchange-review-53664ac1198f">FTX Crypto Exchange Review</a></li><li><a href="https://medium.com/coinmonks/ngrave-zero-review-c465cf8307fc">NGRAVE ZERO review</a></li><li><a href="https://medium.com/coinmonks/bybit-exchange-review-dbd570019b71">Bybit Exchange Review</a> | <a href="https://blog.coincodecap.com/bityard-reivew">Bityard Review</a> | <a href="https://blog.coincodecap.com/interdax-review">Interdax Review</a></li><li><a href="https://medium.com/coinmonks/3commas-vs-pionex-vs-cryptohopper-best-crypto-bot-6a98d2baa203">3Commas vs Cryptohopper</a></li><li>The Best Bitcoin <a href="https://medium.com/coinmonks/the-best-cryptocurrency-hardware-wallets-of-2020-e28b1c124069?source=friends_link&amp;sk=324dd9ff8556ab578d71e7ad7658ad7c">Hardware wallet</a> | <a href="https://medium.com/coinmonks/bitbox02-review-your-swiss-bitcoin-hardware-wallet-c36c88fff29">BitBox02 Review</a></li><li><a href="https://blog.coincodecap.com/ngrave-vs-ledger">Ledger vs Ngrave</a> | <a href="https://blog.coincodecap.com/ledger-nano-s-vs-x">ledger nano s vs x</a></li><li><a href="https://medium.com/coinmonks/top-10-crypto-copy-trading-platforms-for-beginners-d0c37c7d698c">Crypto Copy Trading Platforms</a> | <a href="https://blog.coincodecap.com/bityard-copy-trading">Bityard copy trading</a></li><li><a href="https://blog.coincodecap.com/vauld-review">Vauld Review</a> | <a href="https://medium.com/coinmonks/youhodler-4-easy-ways-to-make-money-98969b9689f2">YouHodler Review</a> | <a href="https://medium.com/coinmonks/blockfi-review-53096053c097">BlockFi Review</a></li><li>The Best <a href="https://medium.com/coinmonks/best-crypto-tax-tool-for-my-money-72d4b430816b">Crypto Tax Software</a> | <a href="https://medium.com/coinmonks/cointracking-review-a-reliable-cryptocurrency-tax-software-5114e3eb5737">CoinTracking Review</a></li><li>Best <a href="https://medium.com/coinmonks/top-5-crypto-lending-platforms-in-2020-that-you-need-to-know-a1b675cec3fa">Crypto Lending Platforms</a></li><li><a href="https://blog.coincodecap.com/ledger-nano-s-vs-trezor-one-ledger-nano-x-trezor-t">Ledger Nano S vs Trezor one vs Trezor T vs Ledger Nano X</a></li><li><a href="https://medium.com/coinmonks/blockfi-vs-celsius-vs-hodlnaut-8a1cc8c26630">BlockFi vs Celsius</a> | <a href="https://blog.coincodecap.com/hodlnaut-review">Hodlnaut Review</a></li><li><a href="https://medium.com/coinmonks/bitsgap-review-a-crypto-trading-bot-that-makes-easy-money-a5d88a336df2">Bitsgap review</a> | <a href="https://medium.com/coinmonks/quadency-review-a-crypto-trading-automation-platform-3068eaa374e1">Quadency Review</a></li><li><a href="https://medium.com/coinmonks/ellipal-titan-review-85e9071dd029">Ellipal Titan Review</a> | <a href="https://blog.coincodecap.com/secux-stone-hardware-wallet-review">SecuX Stone Review</a></li><li><a href="https://explorer.bitquery.io/ethereum/dex">DEX Explorer</a> and <a href="https://explorer.bitquery.io/graphql">Blockchain APIs</a></li><li><a href="https://bitquery.io/blog/best-blockchain-analysis-tools-and-software">Best Blockchain Analysis Tools</a></li><li><a href="https://medium.com/coinmonks/crypto-arbitrage-guide-how-to-make-money-as-a-beginner-62bfe5c868f6">Crypto arbitrage</a> guide: How to make money as a beginner</li><li>Best <a href="https://medium.com/coinmonks/what-are-the-best-charting-platforms-for-cryptocurrency-trading-85aade584d80">Crypto Charting Tool</a> | <a href="https://blog.coincodecap.com/crypto-exchange">Best Crypto Exchange</a></li><li>What are the <a href="https://medium.com/coinmonks/what-are-the-best-books-to-learn-bitcoin-409aeb9aff4b">best books to learn about Bitcoin</a>?</li></ul><blockquote><a href="https://medium.com/coinmonks/newsletters/coinmonks">Get Best Software Deals Directly In Your Inbox</a></blockquote><figure><a href="https://medium.com/coinmonks/newsletters/coinmonks"><img alt="" src="https://cdn-images-1.medium.com/max/584/1*BoDnKUyK8p4hitHAJZ5Pdw.png" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e05efaf067ec" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/part-5-how-to-create-your-own-cryptocurrency-e05efaf067ec">[Part-5] : How to create YOUR own cryptocurrency!!!</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[Part-4] How to create YOUR own cryptocurrency!!!]]></title>
            <link>https://medium.com/coinmonks/part-4-how-to-create-your-own-cryptocurrency-654b20ffc3a6?source=rss-f48367757549------2</link>
            <guid isPermaLink="false">https://medium.com/p/654b20ffc3a6</guid>
            <category><![CDATA[blockchain-development]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <dc:creator><![CDATA[Anantha Perumal]]></dc:creator>
            <pubDate>Sat, 24 Oct 2020 08:53:01 GMT</pubDate>
            <atom:updated>2021-02-04T06:13:52.365Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to create YOUR own cryptocurrency!!!</h3><p>Part - 4: Creating a database and hosting our application</p><p>Welcome back, guys🤗🤗!!.. In my previous blogs, we discussed some<a href="https://medium.com/coinmonks/how-to-create-my-own-cryptocurrency-84eb1246e39f"> basic introduction to blockchain</a>, then <a href="https://medium.com/coinmonks/part-2-how-to-create-your-own-cryptocurrency-a4726d24c5ce">how blockchain is made</a> and at last, we discussed <a href="https://medium.com/coinmonks/part-3-how-to-create-your-own-cryptocurrency-bb6c75353218">how data in blockchain are almost impossible to change</a>. Those who missed it please have a look over my <a href="https://medium.com/coinmonks/part-3-how-to-create-your-own-cryptocurrency-bb6c75353218">previous blogs</a> so that you will enjoy reading here😊😊</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dauYP5QV0_L25PByklY6sg.png" /><figcaption>pic source <a href="https://nordicapis.com/wp-content/uploads/How-To-Create-An-API-From-A-Dataset-Using-Python-and-Flask.png">here</a></figcaption></figure><p>Okay, what’s new in this blog? what we are gonna learn here? we are gonna create a database to store data and will be hosting our application woohoo🎉🎉... trust me its a very simple task. Let’s get into the blog.</p><h3>Setting up the database</h3><p>I am using a MySQL database to store the data. Let&#39;s login to our database by executing below command, this will pop up for a password, once you entered</p><pre>mysql -u root -p</pre><p>password press enter to get started. Now you will be logged in to your application. Let’s execute the below command to create a new user.</p><blockquote>Note: In the below commands replace &lt;username&gt;, &lt;database_name&gt; and &lt;password&gt; with the one you wish.</blockquote><pre>CREATE USER &#39;&lt;username&gt;&#39;@&#39;%&#39;;</pre><p>Let’s execute below command to grant permission to a particular database alone for the user along with setting up a password</p><pre>GRANT ALL PRIVILEGES ON &lt;database_name&gt;.* To &#39;&lt;username&gt;&#39;@&#39;%&#39; IDENTIFIED BY &#39;&lt;password&gt;&#39;;</pre><p><strong>GRANT</strong> - This is the command used to create users and grant rights to databases, tables, etc.</p><p><strong>ALL PRIVILEGES</strong> - This tells that the user will have all standard privileges. However, this does not include the privilege to use the GRANT command.</p><p><strong>&lt;database_name&gt;.*</strong> - This instructions MySQL to apply these rights for use in the entire database that we specified. You can replace the * with specific table names if you wish to give access to a particular table alone.</p><p><strong>To &#39;&lt;username&gt;&#39;@&#39;%&#39; </strong>-<strong> </strong>Provides the privileges to the user.</p><p><strong>IDENTIFIED BY &#39;&lt;password&gt;’ </strong>- As you would have guessed this sets the password for that user.</p><blockquote>Before executing the above command the &lt;database_name&gt; you will be specifing must be created using below command</blockquote><pre>create database &lt;database_name&gt;</pre><p>Now execute the below command, so that the above command takes action</p><pre>FLUSH PRIVILEGES;<br>exit;</pre><p>Now login with the &lt;username&gt; and &lt;password&gt; by using the command I mentioned above.</p><p>We have already created a database, to use that database, we have to execute the below command so that when we create a table it will be inside the database.</p><pre>use &lt;databasename&gt;</pre><p>Let’s create a table to store the blockchain information,</p><pre>create table blockchain(number bigint, hash varchar(64), previous varchar(64), data varchar(100), nonce bigint);</pre><p>that’s all for now😅😅!!..</p><h3>Hosting the application</h3><p>We are gonna use Flask framework to host our application so kindly do read <a href="https://anantha-perumal.medium.com/how-to-create-a-simple-web-application-in-python-using-flask-4771d8522f67">here</a>.</p><p>The above blog I mentioned which provides what is a flask, how to set up the environment and a hands-on experience on simple flask application.</p><p>Now to host let&#39;s create a file app.py under the main directory where blockchain.py file is located and copy-paste the below code in it.</p><pre>from flask import Flask<br>app = Flask(__name__)</pre><pre><a href="http://twitter.com/app">@app</a>.route(&quot;/&quot;)<br>def index():<br>    return &quot;&lt;h1&gt;Web app hosted&lt;/h1&gt;&quot;</pre><pre>if __name__ == &#39;__main__&#39;:<br>    app.run(host=&#39;0.0.0.0&#39;,port=7070,debug = True)</pre><p>As discussed <a href="https://anantha-perumal.medium.com/how-to-create-a-simple-web-application-in-python-using-flask-4771d8522f67">here</a>, I have created a simple web application using Flask and hosting it in port 7070 on debug mode.</p><p>Now let&#39;s test our application by executing ‘<strong><em>python app.py’ </em></strong>in command prompt it will provide you following output</p><pre>$ python app.py<br> * Serving Flask app &quot;app&quot; (lazy loading)<br> * Environment: production<br>   WARNING: This is a development server. Do not use it in a production deployment.<br>   Use a production WSGI server instead.<br> * Debug mode: on<br> * Running on <a href="http://0.0.0.0:7070/">http://0.0.0.0:7070/</a> (Press CTRL+C to quit)<br> * Restarting with stat<br> * Debugger is active!<br> * Debugger PIN: 843-354-301</pre><p>you can visit your server by the URL <a href="http://localhost:7070/">http://localhost:7070</a> if you are accessing in same machine else access it by http://&lt;ipaddress&gt;:7070.</p><p>Great job guys, we have hosted the application.</p><p>For those who want source code, you can access the updated code <a href="https://github.com/AnanthaPerumal/BlockChain">here</a>.</p><p>Thank you so much for spending your valuable time in my blog. Please support me by doing claps at the rate of 1–50 by the way you feel it worth. If you have any doubts regarding this blog or suggestion to improve it please do comment below and share it to those who want to know about blockchain.</p><p>You can find next part <a href="https://anantha-perumal.medium.com/part-5-how-to-create-your-own-cryptocurrency-e05efaf067ec">here</a>.</p><p>Follow me to get notified when I publish a new work. I will get you things as simple as you could understand😉😉.</p><p>Have a good day😊😊</p><h4>Also, Read</h4><ul><li>The Best <a href="https://medium.com/coinmonks/crypto-trading-bot-c2ffce8acb2a">Crypto Trading Bot</a></li><li><a href="https://medium.com/coinmonks/top-10-crypto-copy-trading-platforms-for-beginners-d0c37c7d698c">Crypto Copy Trading Platforms</a></li><li>The Best <a href="https://medium.com/coinmonks/best-crypto-tax-tool-for-my-money-72d4b430816b">Crypto Tax Software</a></li><li><a href="https://medium.com/coinmonks/the-best-crypto-trading-platforms-in-2020-the-definitive-guide-updated-c72f8b874555">Best Crypto Trading Platforms</a></li><li>Best <a href="https://medium.com/coinmonks/top-5-crypto-lending-platforms-in-2020-that-you-need-to-know-a1b675cec3fa">Crypto Lending Platforms</a></li><li><a href="https://bitquery.io/blog/best-blockchain-analysis-tools-and-software">Best Blockchain Analysis Tools</a></li><li><a href="https://medium.com/coinmonks/crypto-arbitrage-guide-how-to-make-money-as-a-beginner-62bfe5c868f6">Crypto arbitrage</a> guide: How to make money as a beginner</li><li>Best <a href="https://medium.com/coinmonks/what-are-the-best-charting-platforms-for-cryptocurrency-trading-85aade584d80">Crypto Charting Tool</a></li><li><a href="https://medium.com/coinmonks/ledger-vs-trezor-best-hardware-wallet-to-secure-cryptocurrency-22c7a3fd391e">Ledger vs Trezor</a></li><li>What are the <a href="https://medium.com/coinmonks/what-are-the-best-books-to-learn-bitcoin-409aeb9aff4b">best books to learn about Bitcoin</a>?</li><li><a href="https://medium.com/coinmonks/3commas-review-an-excellent-crypto-trading-bot-2020-1313a58bec92">3Commas Review</a></li><li><a href="https://medium.com/coinmonks/aax-exchange-review-2021-67c5ea09330c">AAX Exchange Review</a> | Referral Code, Trading Fee, Pros and Cons</li><li><a href="https://medium.com/coinmonks/deribit-review-options-fees-apis-and-testnet-2ca16c4bbdb2">Deribit Review</a> | Options, Fees, APIs and Testnet</li><li><a href="https://medium.com/coinmonks/ftx-crypto-exchange-review-53664ac1198f">FTX Crypto Exchange Review</a></li><li><a href="https://medium.com/coinmonks/ngrave-zero-review-c465cf8307fc">NGRAVE ZERO review</a></li><li><a href="https://medium.com/coinmonks/bybit-exchange-review-dbd570019b71">Bybit Exchange Review</a></li><li><a href="https://medium.com/coinmonks/cryptohopper-vs-3commas-vs-shrimpy-a2c16095b8fe">3Commas vs Cryptohopper</a></li><li>The Best Bitcoin <a href="https://medium.com/coinmonks/the-best-cryptocurrency-hardware-wallets-of-2020-e28b1c124069?source=friends_link&amp;sk=324dd9ff8556ab578d71e7ad7658ad7c">Hardware wallet</a></li><li>Best <a href="https://blog.coincodecap.com/best-monero-wallets">monero wallet</a></li><li><a href="https://blog.coincodecap.com/ledger-nano-s-vs-x">ledger nano s vs x</a></li><li><a href="https://blog.coincodecap.com/bitsgap-3commas-quadency">Bitsgap vs 3Commas vs Quadency</a></li><li><a href="https://blog.coincodecap.com/ledger-nano-s-vs-trezor-one-ledger-nano-x-trezor-t">Ledger Nano S vs Trezor one vs Trezor T vs Ledger Nano X</a></li><li><a href="https://medium.com/coinmonks/blockfi-vs-celsius-vs-hodlnaut-8a1cc8c26630">BlockFi vs Celsius</a> vs Hodlnaut</li><li><a href="https://medium.com/coinmonks/bitsgap-review-a-crypto-trading-bot-that-makes-easy-money-a5d88a336df2">Bitsgap review</a> — A Crypto Trading Bot That Makes Easy Money</li><li><a href="https://medium.com/coinmonks/quadency-review-a-crypto-trading-automation-platform-3068eaa374e1">Quadency Review</a>- A Crypto Trading Bot Made For Professionals</li><li><a href="https://medium.com/coinmonks/primexbt-review-88e0815be858">PrimeXBT Review</a> | Leverage Trading, Fee and Covesting</li><li><a href="https://medium.com/coinmonks/ellipal-titan-review-85e9071dd029">Ellipal Titan Review</a></li><li><a href="https://blog.coincodecap.com/secux-stone-hardware-wallet-review">SecuX Stone Review</a></li><li><a href="https://medium.com/coinmonks/blockfi-review-53096053c097">BlockFi Review</a> | Earn up to 8.6% interests on your Crypto</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=654b20ffc3a6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/part-4-how-to-create-your-own-cryptocurrency-654b20ffc3a6">[Part-4] How to create YOUR own cryptocurrency!!!</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[Part-3] How to create YOUR own Cryptocurrency!!!]]></title>
            <link>https://medium.com/coinmonks/part-3-how-to-create-your-own-cryptocurrency-bb6c75353218?source=rss-f48367757549------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb6c75353218</guid>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[blockchain-technology]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[Anantha Perumal]]></dc:creator>
            <pubDate>Sat, 17 Oct 2020 10:26:49 GMT</pubDate>
            <atom:updated>2020-12-28T15:28:11.949Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to create YOUR own Cryptocurrency!!!</h3><p>Part - 3:How blockchain identifies when a hacker changes the data in a block?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VXnWa2zuy56hvhS4AtsKdw.jpeg" /><figcaption>pic source <a href="https://previews.123rf.com/images/peshkov/peshkov1903/peshkov190300086/118031824-hacker-using-abstract-bitcoin-interface-hacking-and-cryptocurrency-concept.jpg">here</a></figcaption></figure><p>Welcome back guys🤗🤗.. hope everyone is doing good and read my previous blog if anyone missed please read it <a href="https://medium.com/coinmonks/part-2-how-to-create-your-own-cryptocurrency-a4726d24c5ce">here</a> so that you can enjoy reading this one.</p><p>Now, what&#39;s special in this blog🤔🤔? We are gonna witness how secure the blockchain is when a hacker tries to change a data in a block😯!! in addition to that, we are gonna simplify our previous code... Let’s simplify our previous code first which means we are gonna do some couple of changes😨 where the functionality remains the same. trust me they are really small changes😜</p><h3>Replacing dictionary with blocks while adding blocks to the blockchain :</h3><p>I have changed add() method in a blockchain class as below since chaining</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/168aff604d41fd861f45e6a56ed0fa1a/href">https://medium.com/media/168aff604d41fd861f45e6a56ed0fa1a/href</a></iframe><p>up of blocks (class) is a good method of coding rather than by dictionary due to this change we have to change the mine() method as below</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b0335a29ba662d301e11229fe96cb258/href">https://medium.com/media/b0335a29ba662d301e11229fe96cb258/href</a></iframe><p>here I have changed self.chain[-1].hash() because self.chain[-1] is a block itself(since we are adding a block) so I called hash() of class Block to get hash of that block</p><p>I have changed the main method as below to get better visual on output</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9e37963e25cd016abc3eac09b6e04410/href">https://medium.com/media/9e37963e25cd016abc3eac09b6e04410/href</a></iframe><p>Now you can see the output by just navigating to that directory in your command prompt and entering python <strong>&lt;filename&gt;.py </strong>as below</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0af464b45bd56337edbce3cef50b740f/href">https://medium.com/media/0af464b45bd56337edbce3cef50b740f/href</a></iframe><p>okay… that&#39;s all our code changes😊… hence on seeing the output we can witness that the functionality remains the same.</p><h3>How blockchain identifies when someone changes the data in a block🤔</h3><p>The question is cool right because everyone knows blockchain is secure🔒 and data cannot be changed but how blockchain achieves that is not known by many. Let’s discuss and verify that😊</p><p>I am gonna introduce ‘<em>isValid()</em>’ method in BlockChain class which looks like</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b859d220814bbc73476c4570f75f26a0/href">https://medium.com/media/b859d220814bbc73476c4570f75f26a0/href</a></iframe><p>This method has a logic that block N’s previous hash should be equal to block N-1’s hash which is freshly calculated while checking and the hash should match the difficulty this is how the blockchain is made secure at a simpler level.</p><p>Let’s check whether our blockchain is valid or not by calling isValid() function. Now the main function look’s like</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a038fb0c2d85d3fff1b56a4df9a47cb4/href">https://medium.com/media/a038fb0c2d85d3fff1b56a4df9a47cb4/href</a></iframe><p>This is how the output will be if our blockchain is secure then ‘<em>BlockChain is valid’</em> will be printed else it will be ‘<em>Is valid: false’.</em></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/280b236eecd1392f2c7b7dd5c24350d3/href">https://medium.com/media/280b236eecd1392f2c7b7dd5c24350d3/href</a></iframe><p>Let us try to change the data in the third block and try to verify whether blockchain shows that it is not valid</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7f55d70055545a64a1094cae9468917f/href">https://medium.com/media/7f55d70055545a64a1094cae9468917f/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/86fd220504ecc9bf833d16b898a02672/href">https://medium.com/media/86fd220504ecc9bf833d16b898a02672/href</a></iframe><p>you can try by changing any other blocks data. For those who want source code, you can access the updated code <a href="https://github.com/AnanthaPerumal/BlockChain">here</a>.</p><p>Thank you so much for spending your valuable time in my blog. Please support me by doing claps at the rate of 1–50 by the way you feel it worth. If you have any doubts regarding this blog or suggestion to improve it please do comment below and share it to those who want to know about blockchain.</p><p>Stay tuned for next part. you can find next part link <a href="https://anantha-perumal.medium.com/part-4-how-to-create-your-own-cryptocurrency-654b20ffc3a6">here</a>. I will get you things as simple as you could understand😉😉.</p><p>Have a good day😊😊</p><h4>Also, Read</h4><ul><li>The Best Bitcoin <a href="https://medium.com/coinmonks/the-best-cryptocurrency-hardware-wallets-of-2020-e28b1c124069?source=friends_link&amp;sk=324dd9ff8556ab578d71e7ad7658ad7c">Hardware wallet</a></li><li><a href="https://medium.com/coinmonks/defi-future-10-promising-projects-in-the-defi-world-ff2b697ab006">Top DeFi Projects</a></li><li><a href="https://medium.com/coinmonks/best-crypto-apis-for-developers-5efe3a597a9f">Best Crypto APIs</a> for Developers</li></ul><figure><a href="https://coincodecap.com/?utm_source=coinmonks"><img alt="" src="https://cdn-images-1.medium.com/max/584/1*BoDnKUyK8p4hitHAJZ5Pdw.png" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb6c75353218" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/part-3-how-to-create-your-own-cryptocurrency-bb6c75353218">[Part-3] How to create YOUR own Cryptocurrency!!!</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[Part-2]How to create YOUR own Cryptocurrency!!!]]></title>
            <link>https://medium.com/coinmonks/part-2-how-to-create-your-own-cryptocurrency-a4726d24c5ce?source=rss-f48367757549------2</link>
            <guid isPermaLink="false">https://medium.com/p/a4726d24c5ce</guid>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[cryptocurrency-investment]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <dc:creator><![CDATA[Anantha Perumal]]></dc:creator>
            <pubDate>Sun, 11 Oct 2020 11:43:45 GMT</pubDate>
            <atom:updated>2020-12-28T15:42:43.424Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to create YOUR own Cryptocurrency!!!</h3><h4>Part - 2: Building blocks and chaining it up (blockchain)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zFIeG06BGhel06Td" /><figcaption>Photo by <a href="https://unsplash.com/@launchpresso?utm_source=medium&amp;utm_medium=referral">Launchpresso</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Welcome back everyone Lets create a simple blockchain. Hoping everyone read my previous blog else please go through it so that you can understand this one. Those who had missed out click <a href="https://medium.com/@ananthkrish1998/how-to-create-my-own-cryptocurrency-84eb1246e39f">here</a> to have some basic knowledge about blockchain.</p><p>In this blog, we will be discussing about creating blocks and chaining it up together to create a simple blockchain. Whoever wondered about blockchain the simple definition is a chain of blocks (seems an answer for an unknown question by a student😂😂).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*TQLRYfdzDosO5AYo6toj5A.jpeg" /><figcaption>Chain of blocks (<a href="https://www.betterlives.world/blog/wp-content/uploads/2019/03/Genesis-block.jpg">source</a>)</figcaption></figure><p>A block may have anything like that of developer’s wish, usually, a block will have previous hash(hash value of the previous block), data and self hash. Now, what is meant by hash here 🤔🤔?? A hash is a function that converts an input of characters and numbers into the encrypted text of fixed length. There are a lot of hash functions, here I am using SHA256 as my hash function. If anybody wants to get an idea about hash function or SHA256 kindly mention in comments I will do a separate blog about that.</p><p>I hope we are clear about the technical part for this blog let give work to our keyboard. I am gonna use python language to code.</p><p>Let’s code a simple block having data, hash and previous hash</p><pre>class Block():<br>    &quot;&quot;&quot;A Block in BlockChain&quot;&quot;&quot;<br>    data = None<br>    hash = None<br>    nonce = 0<br>    previous_hash = &quot;0&quot; * 64</pre><p>Here everything was initialized to zero while the previous hash is initialized with 64 digits of zero because the output of SHA256 is 64 digits and the first block will not have any previous hash. Did you find anything odd in the above code? If not please take a look over nonce any idea about what is it?</p><p>A nonce is an abbreviation for “number only used once,” which is a number added to a hashed/encrypted block in a blockchain that, when rehashed, meets the difficulty level restrictions.</p><pre>def __init__(self,data,number=0):<br>        self.data = data<br>        self.number = number</pre><p>The above code snippet is known as the constructor for the block which will initialize the data and the block number respectively. That’s all we have successfully created a block lets go for hashing.</p><pre>def hash(self):<br>        return updateHash(<br>            self.previous_hash,<br>            self.number,<br>            self.data,<br>            self.nonce<br>        )</pre><p>I have defined another method hash for the class block which will return the hash of that block. Looking inside it calls updateHash function:</p><pre>def updateHash(*args):<br>    hashing_text = &quot;&quot;<br>    h = sha256()<br>    for arg in args:<br>        hashing_text += str(arg)<br>    h.update(hashing_text.encode(&#39;utf-8&#39;))<br>    return h.hexdigest()</pre><p>updateHash function accepts n number of arguments which will be appended to a single string which consists of previous block’s hash, block number, data in it and number only used once naming it as hashing_text. As I told earlier I am using SHA256 hash so creating an instance for it and updating hashing_text as encoded utf-8. Now the hexdigest() function will provide the hash for that block.</p><p>Now for printing purpose, I am overriding __str__ method as:</p><pre>def __str__(self):<br>        return str(<br>        &quot;Block#: %s\nHash: %s\nPrevious: %s\nData: %s\nNonce: %s\n&quot; %(<br>            self.number,<br>            self.hash(),<br>            self.previous_hash,<br>            self.data,<br>            self.nonce<br>            )<br>        )</pre><p>Well done we have created blocks using python!!!..</p><p>Let’s code a simple blockchain, the blockchain will usually have a difficulty which is a simple number providing criteria that hash should have that many zeroes at the start of it. The more the difficulty the more time it takes to create a hash.</p><pre>class BlockChain(object):<br>    &quot;&quot;&quot;Chain of Blocks&quot;&quot;&quot;<br>    difficulty = 4</pre><p>Now I am creating a constructor for the above class which initializes the chain of block:</p><pre>def __init__(self,chain=[]):<br>        self.chain = chain</pre><p>If we have a block with all the field initialized we can go for adding that block into a blockchain:</p><pre>def add(self,block):<br>        self.chain.append({<br>                &#39;Block Number&#39; : block.number,<br>                &#39;Hash&#39;:block.hash(),<br>                &#39;Previous Hash&#39; : block.previous_hash,<br>                &#39;Data&#39; : block.data,<br>                &#39;nonce&#39; : block.nonce<br>            })</pre><p>Else if we have only data then we have to mine it to have all the fields to be initialized:</p><pre>def mine(self, block):<br>        try:<br>            block.previous_hash = self.chain[-1].get(&#39;hash&#39;)<br>        except IndexError:<br>            pass<br>        while True:<br>            if block.hash()[:self.difficulty] == &quot;0&quot; * self.difficulty:<br>                self.add(block)<br>                break<br>            else:<br>                block.nonce +=1</pre><p>Above we are initializing the previous_hash of a block then we are hashing the block until the difficulty is met.</p><p>Good Job guys, we have done our coding part!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*c2qGoHtSJshayjHy" /><figcaption>Photo by <a href="https://unsplash.com/@alelmes?utm_source=medium&amp;utm_medium=referral">Alasdair Elmes</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Let&#39;s see how this is working</p><pre>def main():<br>    blockchain = BlockChain()<br>    database = [&quot;data 1&quot;, &quot;data 2&quot;, &quot;data 3&quot;]</pre><pre>    num = 0<br>    for data in database:<br>        num += 1<br>        blockchain.mine(Block(data,num))<br>    print(&quot;BlockChain : &quot;)<br>    print(blockchain.chain)</pre><pre>for block in blockchain.chain:<br>        print(&quot;Block :&quot;)<br>        print(block)</pre><pre>if __name__ == &#39;__main__&#39;:<br>    main()</pre><p>Above I have created an instance for BlockChain class and we have 3 data which differs in only one digit. ‘num’ refers to the block number which will be incremented on adding blocks.</p><p>Save this code as <strong>&lt;filename&gt;.py </strong>to execute it go to the location where it is located and type <strong>python &lt;filename&gt;.py</strong></p><p>So the output looks like</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xva_lKaHn3TSJoDRlcQNig.png" /></figure><p>Sorry for the blurry image please right click and select view image to view this image clearly.</p><p>To be noticed in the output:</p><ol><li>BlockChain: shows how the blocks are linked together with data in it.</li><li>Blocks: The first block previous hash will be 64 digits of zero. The second block previous hash will be the previous block’s hash</li><li>MOST IMPORTANT: we have modified only the last digit of data but the hash of each block has many differences.</li></ol><p>For those who need source code can view it <a href="https://github.com/AnanthaPerumal/BlockChain">here</a></p><p>Thank you so much for spending your valuable time in my blog. Please support me by doing claps at the rate of 1–50 by the way you feel it worth. If you have any doubts regarding this blog or suggestion to improve it please do comment below and share it to those who want to know about blockchain.</p><p>You can find the next part link <a href="https://medium.com/@ananthkrish1998/part-3-how-to-create-your-own-cryptocurrency-bb6c75353218">here</a>. I will get you things as simple as you could understand😉😉.</p><p>Have a good day😊😊</p><h4>Also, Read</h4><ul><li>The Best <a href="https://medium.com/coinmonks/crypto-trading-bot-c2ffce8acb2a">Crypto Trading Bot</a></li><li><a href="https://medium.com/coinmonks/top-10-crypto-copy-trading-platforms-for-beginners-d0c37c7d698c">Crypto Copy Trading Platforms</a></li><li>The Best <a href="https://medium.com/coinmonks/best-crypto-tax-tool-for-my-money-72d4b430816b">Crypto Tax Software</a></li><li><a href="https://medium.com/coinmonks/the-best-crypto-trading-platforms-in-2020-the-definitive-guide-updated-c72f8b874555">Best Crypto Trading Platforms</a></li><li>Best <a href="https://medium.com/coinmonks/top-5-crypto-lending-platforms-in-2020-that-you-need-to-know-a1b675cec3fa">Crypto Lending Platforms</a></li><li><a href="https://bitquery.io/blog/best-blockchain-analysis-tools-and-software">Best Blockchain Analysis Tools</a></li><li><a href="https://medium.com/coinmonks/crypto-arbitrage-guide-how-to-make-money-as-a-beginner-62bfe5c868f6">Crypto arbitrage</a> guide: How to make money as a beginner</li><li>Best <a href="https://medium.com/coinmonks/what-are-the-best-charting-platforms-for-cryptocurrency-trading-85aade584d80">Crypto Charting Tool</a></li><li><a href="https://medium.com/coinmonks/ledger-vs-trezor-best-hardware-wallet-to-secure-cryptocurrency-22c7a3fd391e">Ledger vs Trezor</a></li><li>What are the <a href="https://medium.com/coinmonks/what-are-the-best-books-to-learn-bitcoin-409aeb9aff4b">best books to learn about Bitcoin</a>?</li><li><a href="https://medium.com/coinmonks/3commas-review-an-excellent-crypto-trading-bot-2020-1313a58bec92">3Commas Review</a></li><li><a href="https://medium.com/coinmonks/aax-exchange-review-2021-67c5ea09330c">AAX Exchange Review</a> | Referral Code, Trading Fee, Pros and Cons</li><li><a href="https://medium.com/coinmonks/deribit-review-options-fees-apis-and-testnet-2ca16c4bbdb2">Deribit Review</a> | Options, Fees, APIs and Testnet</li><li><a href="https://medium.com/coinmonks/ftx-crypto-exchange-review-53664ac1198f">FTX Crypto Exchange Review</a></li><li><a href="https://medium.com/coinmonks/ngrave-zero-review-c465cf8307fc">NGRAVE ZERO review</a></li><li><a href="https://medium.com/coinmonks/bybit-exchange-review-dbd570019b71">Bybit Exchange Review</a></li><li><a href="https://medium.com/coinmonks/cryptohopper-vs-3commas-vs-shrimpy-a2c16095b8fe">3Commas vs Cryptohopper</a></li><li>The Best Bitcoin <a href="https://medium.com/coinmonks/the-best-cryptocurrency-hardware-wallets-of-2020-e28b1c124069?source=friends_link&amp;sk=324dd9ff8556ab578d71e7ad7658ad7c">Hardware wallet</a></li><li>Best <a href="https://blog.coincodecap.com/best-monero-wallets">monero wallet</a></li><li><a href="https://blog.coincodecap.com/ledger-nano-s-vs-x">ledger nano s vs x</a></li><li><a href="https://blog.coincodecap.com/bitsgap-3commas-quadency">Bitsgap vs 3Commas vs Quadency</a></li><li><a href="https://blog.coincodecap.com/ledger-nano-s-vs-trezor-one-ledger-nano-x-trezor-t">Ledger Nano S vs Trezor one vs Trezor T vs Ledger Nano X</a></li><li><a href="https://medium.com/coinmonks/blockfi-vs-celsius-vs-hodlnaut-8a1cc8c26630">BlockFi vs Celsius</a> vs Hodlnaut</li><li><a href="https://medium.com/coinmonks/bitsgap-review-a-crypto-trading-bot-that-makes-easy-money-a5d88a336df2">Bitsgap review</a> — A Crypto Trading Bot That Makes Easy Money</li><li><a href="https://medium.com/coinmonks/quadency-review-a-crypto-trading-automation-platform-3068eaa374e1">Quadency Review</a>- A Crypto Trading Bot Made For Professionals</li><li><a href="https://medium.com/coinmonks/primexbt-review-88e0815be858">PrimeXBT Review</a> | Leverage Trading, Fee and Covesting</li><li><a href="https://medium.com/coinmonks/ellipal-titan-review-85e9071dd029">Ellipal Titan Review</a></li><li><a href="https://blog.coincodecap.com/secux-stone-hardware-wallet-review">SecuX Stone Review</a></li><li><a href="https://medium.com/coinmonks/blockfi-review-53096053c097">BlockFi Review</a> | Earn up to 8.6% interests on your Crypto</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a4726d24c5ce" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/part-2-how-to-create-your-own-cryptocurrency-a4726d24c5ce">[Part-2]How to create YOUR own Cryptocurrency!!!</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to create YOUR own Cryptocurrency]]></title>
            <link>https://medium.com/coinmonks/how-to-create-my-own-cryptocurrency-84eb1246e39f?source=rss-f48367757549------2</link>
            <guid isPermaLink="false">https://medium.com/p/84eb1246e39f</guid>
            <category><![CDATA[blockchain-cryptocurrency]]></category>
            <category><![CDATA[cryptocurrency-investment]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <dc:creator><![CDATA[Anantha Perumal]]></dc:creator>
            <pubDate>Sat, 03 Oct 2020 14:40:03 GMT</pubDate>
            <atom:updated>2020-12-28T16:04:00.217Z</atom:updated>
            <content:encoded><![CDATA[<h3>Ready to create YOUR own Cryptocurrency!!!</h3><h4><strong>Part - 1: Introduction</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g2PCgnZUILHVC4gkIsgODg.png" /></figure><p>I have a question for you before creating your own cryptocurrency have you got a name for your cryptocurrency? is it cool?. because nobody wants to eat a burger in ‘Swarna bakery’(a bakery name) when McDonald’s is opposite. So choose yours wisely.</p><p>There are many Cryptocurrencies some you may become aware of names like bitcoin, ethereum etc will also heard the name blockchain which is the technology behind blockchain, The most valuable cryptocurrency is bitcoin and is worth about $0.003 USD as of Mar 2010 but now(Oct 3, 2020) it worth10542 USD now can you believe that!!!!…</p><p>This blog is an introduction part which doesn’t include any coding so just take the hand from keys and enjoy scrolling.</p><p>So how to start there are many terms like</p><ul><li>Blockchain</li><li>Cryptography - Types of Cryptography - Digital Signature</li><li>Hashing</li><li>Nodes</li><li>Ledger - HyperLedger</li><li>Merkle tree</li><li>Smart Contract, etc., etc.</li></ul><p>haa it goes too long don’t worry I am not gonna disclose it in this blog we will see in a way that it will make interest in my upcoming blogs. as I said we are gonna see things that you heard but doesn’t know deep into it.</p><p>Let me tell you a story that <strong>only a few people know,</strong> <strong>cryptocurrencies emerged as a side product of another invention, Satoshi Nakamoto, the unknown inventor of </strong><a href="https://blockgeeks.com/guides/what-is-bitcoin-a-step-by-step-guide/"><strong>Bitcoin</strong></a>, never intended to invent a currency. His goal was to build a decentralized digital cash system. In nineties, there have been many failed attempts to create digital money.</p><blockquote><strong>Announcing the first release of Bitcoin, a new electronic cash system that uses a peer-to-peer network to prevent double-spending. It’s completely decentralized with no server or central authority. — Satoshi Nakamoto, 09 January 2009, announcing Bitcoin on SourceForge.</strong></blockquote><blockquote><strong><em>… after more than a decade of failed Trusted Third Party based systems (Digicash, etc), they see it as a lost cause. I hope they can make the distinction, that this is the first time I know of that we’re trying a non-trust based system. — Satoshi Nakamoto in an E-Mail to Dustin Trammell</em></strong></blockquote><p>The cryptocurrency born when Satoshi tried to build a digital cash system without a central entity.</p><p>Let me explain with a simple example between the system existing now and satoshi invented. Let us take the example of the transaction of amount, I am having an account in a bank and I am making the transaction from one account to another account, this transaction history was maintained in central server owned by bank right? now if anything bad happens. let us guess for our bad, some hacker change the transaction amount as 10000 instead of 1000 and takes all 9k amount then how can I prove that I am hacked it will be clearly recorded as 10K there but I have done a transaction of 1K only.</p><p>Now imagine the situation where the proof of your transaction is stored in many servers that is decentralized now if a hacker attempts to change the data in a server, then the data in that server alone will be changed but in remaining all server the original data is maintained so in this way that we can identify that there is something wrong happened in that server and its actions will be rollbacked… now this is blockchain everybody!!</p><h3>What is Cryptocurrency (maybe The Money Of The Future)?</h3><p>If we remove all the hype for cryptocurrency and look into the word, it is just a number in your account as you check the balance in your account which will be appended with the name of the currency(USD, EURO, INR etc) while cryptocurrency will be appended with bitcoin,ethereum etc. Cryptocurrencies are digital cash meant to be quicker, cheaper and more reliable than our government-issued money. Instead of trusting a government to create your money, bank to store, send and receive it, users transact directly with each other and store their money themselves as there is no middle man the transaction is very fast and affordable. Every user of a cryptocurrency can simultaneously record and verify their own transactions and the transactions of everyone else. The digital transaction recordings are known as a <strong>ledger</strong> and this ledger is publicly available to anyone. With this public ledger, transactions become efficient, permanent, secure and transparent, hence fraud and manipulation are prevented. With ledger i.e. public records, cryptocurrencies don’t require you to trust a bank to hold your money. This system requires no trust. This unique positive quality is known as “trustless”.</p><h3>What is bitcoin?</h3><p>Bitcoin is the first digital cash created in 2009 by an unknown person or group who went by the name, Satoshi Nakamoto. Bitcoin is unique because it does not rely on government/bank-created money, meaning there are no banks or middlemen. In addition, transactions occur directly between people their real names are not known. Each transaction is recorded on a digital record as public and kept by many people across the world known as the <strong>blockchain</strong>. Because there are so many copies being simultaneously maintained, the transaction is very safe and virtually impossible to manipulate. Individuals protect their bitcoins using their digital wallet</p><h3>What is blockchain?</h3><p>Blockchain is a technology for creating permanent, secure digital recordings that are decentralized. Blockchains can record any information like medical information, banking, etc. Imagine the blockchain as a book of records. Each page in that book is a block and can record anything. Blocks are created one after the other, chained to each other by means of hashing what we know as the blockchain. Multiple blockchain records are maintained simultaneously by many unrelated individuals and their computers, making it cloud storage on steroids. Updates are seen immediately and manipulation is extremely difficult/impossible. This positive quality known of many people keeping their own copies of the blockchain is known as “distributed”. But if a blockchain is not distributed among many individuals and instead run by one government, organization, group or person, then it is not at a blockchain at all. A centralized system like that is simply a database.</p><h3>What is a smart contract?</h3><p>A smart contract mixes blockchain technology with contracts to make a more efficient and affordable system of doing business. In a smart contract, two people doing business agree to exchange money for something else. if the requirements set by both parties of the contract are met on a date, it activates, delivering what was purchased. If the requirements are not met, the contract deactivates and returns whatever it was storing.</p><p>For example, Alice wants 1 bitcoin from Bob and Bob wants $11,000. Both Bob and Alice agree that on Oct 7, 2020, both the bitcoin and cash will be deposited to the accounts linked with the smart contract. On October 7th, the contract looks to see if both people fulfilled their obligations. If so, it will release the payment and bitcoin to their new owners. If not, the bitcoin and money are returned to their original owners.</p><p>Because the contract is publicly available and unalterable, it is very easy to keep both Bob and Alice responsible for their end of the deal. If anyone somehow violates the agreement, the proof of what they should have done is easily obtained.</p><h3>What is mining?</h3><p>Mining is the computer process of recording and verifying information on the digital record known as the blockchain. Because mining requires computer power, people do this work in return for money. Each computer that fulfils this process can earn a reward in digital money and sometimes brand new, virgin coins.</p><p>To keep the blockchain network running smoothly, only one block can be created at a time. There are several different ways to do this:</p><ol><li>The most common is known as proof of work and it required computers to work hard at solving a math problem. The first computer to solve this problem would discover a new block and could record information on the blockchain. This earned them a reward in brand new digital money plus fees paid for each transaction.</li><li>The next mining technique was called proof of stake. With this system, people who represent large ownership of coins are selected by the software to create new blocks. Competing people are selected on a lottery system based on chance. With proof of stake, no new coins are created. Instead, fees for verifying and recording transactions are collected.</li></ol><p>With over 1,000 cryptocurrencies and many more being created each month, new ways of mining are being explored and discovered.</p><p>You can find the next part creating blocks and <a href="https://medium.com/@ananthkrish1998/part-2-how-to-create-your-own-cryptocurrency-a4726d24c5ce">chaining it up together to create a blockchain</a>.</p><p>The content above is referenced from various online articles and resources that are available online and the pic source is from <a href="https://worldview.stratfor.com/sites/default/files/styles/article_full/public/cryptocurrency-gulf-display-shutterstock-1028639176.png?itok=K36RQG5A">here</a></p><p>Please rate my blog from 0 to 50 claps and give me suggestion to improve by commenting below. Thanks for your precious time to read my blog. Have a great day:)</p><h4>Also, Read</h4><ul><li>The Best <a href="https://medium.com/coinmonks/crypto-trading-bot-c2ffce8acb2a">Crypto Trading Bot</a></li><li><a href="https://medium.com/coinmonks/top-10-crypto-copy-trading-platforms-for-beginners-d0c37c7d698c">Crypto Copy Trading Platforms</a></li><li>The Best <a href="https://medium.com/coinmonks/best-crypto-tax-tool-for-my-money-72d4b430816b">Crypto Tax Software</a></li><li><a href="https://medium.com/coinmonks/the-best-crypto-trading-platforms-in-2020-the-definitive-guide-updated-c72f8b874555">Best Crypto Trading Platforms</a></li><li>Best <a href="https://medium.com/coinmonks/top-5-crypto-lending-platforms-in-2020-that-you-need-to-know-a1b675cec3fa">Crypto Lending Platforms</a></li><li><a href="https://bitquery.io/blog/best-blockchain-analysis-tools-and-software">Best Blockchain Analysis Tools</a></li><li><a href="https://medium.com/coinmonks/crypto-arbitrage-guide-how-to-make-money-as-a-beginner-62bfe5c868f6">Crypto arbitrage</a> guide: How to make money as a beginner</li><li>Best <a href="https://medium.com/coinmonks/what-are-the-best-charting-platforms-for-cryptocurrency-trading-85aade584d80">Crypto Charting Tool</a></li><li><a href="https://medium.com/coinmonks/ledger-vs-trezor-best-hardware-wallet-to-secure-cryptocurrency-22c7a3fd391e">Ledger vs Trezor</a></li><li>What are the <a href="https://medium.com/coinmonks/what-are-the-best-books-to-learn-bitcoin-409aeb9aff4b">best books to learn about Bitcoin</a>?</li><li><a href="https://medium.com/coinmonks/3commas-review-an-excellent-crypto-trading-bot-2020-1313a58bec92">3Commas Review</a></li><li><a href="https://medium.com/coinmonks/aax-exchange-review-2021-67c5ea09330c">AAX Exchange Review</a> | Referral Code, Trading Fee, Pros and Cons</li><li><a href="https://medium.com/coinmonks/deribit-review-options-fees-apis-and-testnet-2ca16c4bbdb2">Deribit Review</a> | Options, Fees, APIs and Testnet</li><li><a href="https://medium.com/coinmonks/ftx-crypto-exchange-review-53664ac1198f">FTX Crypto Exchange Review</a></li><li><a href="https://medium.com/coinmonks/ngrave-zero-review-c465cf8307fc">NGRAVE ZERO review</a></li><li><a href="https://medium.com/coinmonks/bybit-exchange-review-dbd570019b71">Bybit Exchange Review</a></li><li><a href="https://medium.com/coinmonks/cryptohopper-vs-3commas-vs-shrimpy-a2c16095b8fe">3Commas vs Cryptohopper</a></li><li>The Best Bitcoin <a href="https://medium.com/coinmonks/the-best-cryptocurrency-hardware-wallets-of-2020-e28b1c124069?source=friends_link&amp;sk=324dd9ff8556ab578d71e7ad7658ad7c">Hardware wallet</a></li><li>Best <a href="https://blog.coincodecap.com/best-monero-wallets">monero wallet</a></li><li><a href="https://blog.coincodecap.com/ledger-nano-s-vs-x">ledger nano s vs x</a></li><li><a href="https://blog.coincodecap.com/bitsgap-3commas-quadency">Bitsgap vs 3Commas vs Quadency</a></li><li><a href="https://blog.coincodecap.com/ledger-nano-s-vs-trezor-one-ledger-nano-x-trezor-t">Ledger Nano S vs Trezor one vs Trezor T vs Ledger Nano X</a></li><li><a href="https://medium.com/coinmonks/blockfi-vs-celsius-vs-hodlnaut-8a1cc8c26630">BlockFi vs Celsius</a> vs Hodlnaut</li><li><a href="https://medium.com/coinmonks/bitsgap-review-a-crypto-trading-bot-that-makes-easy-money-a5d88a336df2">Bitsgap review</a> — A Crypto Trading Bot That Makes Easy Money</li><li><a href="https://medium.com/coinmonks/quadency-review-a-crypto-trading-automation-platform-3068eaa374e1">Quadency Review</a>- A Crypto Trading Bot Made For Professionals</li><li><a href="https://medium.com/coinmonks/primexbt-review-88e0815be858">PrimeXBT Review</a> | Leverage Trading, Fee and Covesting</li><li><a href="https://medium.com/coinmonks/ellipal-titan-review-85e9071dd029">Ellipal Titan Review</a></li><li><a href="https://blog.coincodecap.com/secux-stone-hardware-wallet-review">SecuX Stone Review</a></li><li><a href="https://medium.com/coinmonks/blockfi-review-53096053c097">BlockFi Review</a> | Earn up to 8.6% interests on your Crypto</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=84eb1246e39f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/how-to-create-my-own-cryptocurrency-84eb1246e39f">How to create YOUR own Cryptocurrency</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>