<?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 SimplifiedCoding on Medium]]></title>
        <description><![CDATA[Stories by SimplifiedCoding on Medium]]></description>
        <link>https://medium.com/@deepaktholia97?source=rss-a501c8e6dee7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*4aZ8Hclnzqxv-gXb.jpg</url>
            <title>Stories by SimplifiedCoding on Medium</title>
            <link>https://medium.com/@deepaktholia97?source=rss-a501c8e6dee7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 07:42:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@deepaktholia97/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[How to create geth private network?]]></title>
            <link>https://medium.com/@deepaktholia97/how-to-create-geth-private-network-a5fe3eb1ccfb?source=rss-a501c8e6dee7------2</link>
            <guid isPermaLink="false">https://medium.com/p/a5fe3eb1ccfb</guid>
            <category><![CDATA[private-network]]></category>
            <category><![CDATA[geth]]></category>
            <category><![CDATA[goerli-private-network]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[SimplifiedCoding]]></dc:creator>
            <pubDate>Mon, 18 Sep 2023 06:16:49 GMT</pubDate>
            <atom:updated>2023-09-18T06:22:53.234Z</atom:updated>
            <content:encoded><![CDATA[<h3>1. Create genesis.json</h3><p>{<br> “config”: {<br> “chainId”: 18, //it can be of your choice as we are creating own network — it will be network id also<br> “homesteadBlock”: 0,<br> “eip150Block”: 0,<br> “eip155Block”: 0,<br> “eip158Block”: 0,<br> “byzantiumBlock”: 0,<br> “constantinopleBlock”: 0,<br> “petersburgBlock”: 0,<br> “ethash”: {}<br> },<br> “difficulty”: “0x20000”,<br> “gasLimit”: “0x9000000”,<br> “alloc”: {}<br>}</p><h4>2. Initiate the private blockchain steps:-</h4><p><em>&gt; geth — datadir ./node1 init genesis.json</em></p><p><em>&gt; geth — datadir ./node1 — syncmode “full” — port 30304 — http — http.addr “0.0.0.0” — http.port 3000 — http.api “personal,eth,net,web3,txpool,miner,admin” — http.corsdomain=”*” — networkid 1234 — allow-insecure-unlock — authrpc.port 8553 console — rpc.enabledeprecatedpersonal</em></p><p><em>&gt; geth — datadir ./node2 init genesis.json</em></p><p><em>&gt; geth — datadir ./node2 — syncmode “full” — port 30305 — http — http.addr “0.0.0.0” — http.port 3001 — http.api “personal,eth,net,web3,txpool,miner,admin” — http.corsdomain=”*” — networkid 1234 — allow-insecure-unlock — authrpc.port 8555 console — rpc.enabledeprecatedpersonal</em></p><h3>3. Attach to console:-</h3><p><em>cd node1/<br>geth attach geth.ipc</em></p><p><em>cd node2/<br>geth attach geth.ipc</em></p><h3>4. Attach node1 to node2 in console of node1:-</h3><p>&gt; <em>eth.addPeer(“&lt;enter enode id of node2&gt;”)</em><br>e.g. eth.addPeer(“enode://bd179209422f6a495173d02b24ecf390b18b9f7a0c189093e2323a54b454178cf5c2f6c37e04d916bd4a1729f774f9bc78beb0cc8b03358d03198a1d5b9d4f64@127.0.0.1:30305”)</p><p>How to create new account from geth console?</p><p>Attach to console using:-<em> cd node1/ &amp;&amp; geth attach geth.ipc</em></p><p>create new account<br><em>&gt; personal.newAccount()<br>&gt; miner.setEtherbase(“&lt;created account address&gt;”)<br>&gt; miner.start(1)<br>&gt; personal.unlockAccount(eth.accounts[2], “password”)<br>&gt; eth.sendTransaction({from:eth.accounts[2], to:&lt;address of recipient&gt;, value: web3.toWei(&lt;amount you need to sent&gt;, “ether”)})</em></p><h3>Import existing wallet:-</h3><p><em>&gt;web3.personal.importRawKey(“&lt;Private Key&gt;”,”&lt;New Password&gt;”)</em></p><p>Note:-</p><ol><li>Make sure your http.port should be opened if you are accessing it from metamask.</li></ol><p>Dashboard:-<br><a href="https://medium.com/singapore-blockchain-dapps/how-to-build-ethereum-dashboard-and-to-monitor-your-ethereum-network-status-a06c5ac18d15">https://medium.com/singapore-blockchain-dapps/how-to-build-ethereum-dashboard-and-to-monitor-your-ethereum-network-status-a06c5ac18d15</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a5fe3eb1ccfb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ansible basics- Use of meta:end_play]]></title>
            <link>https://medium.com/@deepaktholia97/ansible-basics-use-of-meta-end-play-88deaf74f5f5?source=rss-a501c8e6dee7------2</link>
            <guid isPermaLink="false">https://medium.com/p/88deaf74f5f5</guid>
            <category><![CDATA[ansible-playbook]]></category>
            <category><![CDATA[ansible-tutorial]]></category>
            <category><![CDATA[ansible]]></category>
            <category><![CDATA[ansible-roles]]></category>
            <dc:creator><![CDATA[SimplifiedCoding]]></dc:creator>
            <pubDate>Fri, 07 Jan 2022 11:25:36 GMT</pubDate>
            <atom:updated>2022-01-07T11:25:36.101Z</atom:updated>
            <content:encoded><![CDATA[<p>Just a little note: meta: end_play ends just the play, not a playbook. So this playbook:</p><pre>---<br>- name: 1st play with end play<br>  hosts: localhost<br>  connection: local<br>  gather_facts: no<br>  tasks:<br>    - name: I&#39;ll always be printed<br>      debug:<br>        msg: next task terminates first play<br><br>    - name: Ending the 1st play now<br>      meta: end_play<br><br>    - name: I want to be printed!<br>      debug:<br>        msg: However I&#39;m unreachable so this message won&#39;t appear in the output<br><br>- name: 2nd play<br>  hosts: localhost<br>  connection: local<br>  gather_facts: no<br>  tasks:<br>    - name: I will also be printed always<br>      debug:<br>        msg: &quot;meta: end_play ended just the 1st play. This is 2nd one.&quot;</pre><p>Just a little note: meta: end_play ends just the play, not a playbook. So this playbook:</p><pre>---<br>- name: 1st play with end play<br>  hosts: localhost<br>  connection: local<br>  gather_facts: no<br>  tasks:<br>    - name: I&#39;ll always be printed<br>      debug:<br>        msg: next task terminates first play</pre><pre>    - name: Ending the 1st play now<br>      meta: end_play</pre><pre>    - name: I want to be printed!<br>      debug:<br>        msg: However I&#39;m unreachable so this message won&#39;t appear in the output</pre><pre>- name: 2nd play<br>  hosts: localhost<br>  connection: local<br>  gather_facts: no<br>  tasks:<br>    - name: I will also be printed always<br>      debug:<br>        msg: &quot;meta: end_play ended just the 1st play. This is 2nd one.&quot;</pre><p>will produce this output:</p><pre>$ ansible-playbook -i localhost, playbooks/end_play.yml <br><br>PLAY [1st play with end play] **************************************************<br><br>TASK [I&#39;ll always be printed] **************************************************<br>ok: [localhost] =&gt; {<br>    &quot;msg&quot;: &quot;next task terminates first play&quot;<br>}<br><br>PLAY [2nd play] ****************************************************************<br><br>TASK [I will also be printed always] *******************************************<br>ok: [localhost] =&gt; {<br>    &quot;msg&quot;: &quot;meta: end_play ended just the 1st play. This is 2nd one.&quot;<br>}<br><br>PLAY RECAP *********************************************************************<br>localhost                  : ok=2    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88deaf74f5f5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What are nodes in Hyperled]]></title>
            <link>https://medium.com/@deepaktholia97/what-are-nodes-in-hyperled-6f968a9bb4cf?source=rss-a501c8e6dee7------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f968a9bb4cf</guid>
            <category><![CDATA[hyperledger-composer]]></category>
            <category><![CDATA[node]]></category>
            <category><![CDATA[hyperledger-fabric]]></category>
            <category><![CDATA[hyperledger]]></category>
            <category><![CDATA[blockchain-basics]]></category>
            <dc:creator><![CDATA[SimplifiedCoding]]></dc:creator>
            <pubDate>Wed, 05 Jan 2022 12:14:24 GMT</pubDate>
            <atom:updated>2022-01-05T12:14:24.154Z</atom:updated>
            <content:encoded><![CDATA[<h3>What are nodes in Hyperledger Fabric?</h3><p>Nodes are the communication entities of the blockchain. A “node” is only a logical function in the sense that multiple nodes of different types can run on the same physical server. What counts is how nodes are grouped in “trust domains” and associated to logical entities that control them.</p><p>There are three types of nodes:</p><ol><li><strong>Client</strong> or <strong>submitting-client</strong>: a client that submits an actual transaction-invocation to the endorsers, and broadcasts transaction-proposals to the ordering service.The client represents the entity that acts on behalf of an end-user. It must connect to a peer for communicating with the blockchain. The client may connect to any peer of its choice. Clients create and thereby invoke transactions.</li><li><strong>Peer</strong>: a node that commits transactions and maintains the state and a copy of the ledger (see Sec, 1.2). Besides, peers can have a special <strong>endorser</strong> role.A peer receives ordered state updates in the form of <em>blocks</em> from the ordering service and maintain the state and the ledger.</li><li>Peers can additionally take up a special role of an <strong>endorsing peer</strong>, or an <strong>endorser</strong>. The special function of an <em>endorsing peer</em> occurs with respect to a particular chaincode and consists in <em>endorsing</em> a transaction before it is committed. Every chaincode may specify an <em>endorsement policy</em> that may refer to a set of endorsing peers. The policy defines the necessary and sufficient conditions for a valid transaction endorsement (typically a set of endorsers’ signatures), as described later in Sections 2 and 3. In the special case of deploy transactions that install new chaincode the (deployment) endorsement policy is specified as an endorsement policy of the system chaincode.</li><li><strong>Ordering-service-node</strong> or <strong>orderer</strong>: a node running the communication service that implements a delivery guarantee, such as atomic or total order broadcast.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f968a9bb4cf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[System channel vs Application channel in Hyperledger Fabric]]></title>
            <link>https://medium.com/@deepaktholia97/system-channel-vs-application-channel-in-hyperledger-fabric-f8aebf3b7903?source=rss-a501c8e6dee7------2</link>
            <guid isPermaLink="false">https://medium.com/p/f8aebf3b7903</guid>
            <category><![CDATA[fabric]]></category>
            <category><![CDATA[hyperledger-fabric]]></category>
            <category><![CDATA[channel]]></category>
            <category><![CDATA[genesis]]></category>
            <category><![CDATA[blockchain-technology]]></category>
            <dc:creator><![CDATA[SimplifiedCoding]]></dc:creator>
            <pubDate>Wed, 22 Dec 2021 09:57:03 GMT</pubDate>
            <atom:updated>2021-12-22T09:57:03.488Z</atom:updated>
            <content:encoded><![CDATA[<p>The first channel that is created in a Fabric network is the <strong>system channel. </strong>The system channel defines the set of ordering nodes that form the ordering service and the set of organizations that serve as ordering service administrators.</p><p>The system channel also includes the organizations that are members of blockchain <a href="https://hyperledger-fabric.readthedocs.io/en/release-2.2/glossary.html#consortium">consortium</a>. The consortium is a set of peer organizations that belong to the system channel, but are not administrators of the ordering service. Consortium members have the ability to create new channels and include other consortium organizations as channel members.</p><p>The genesis block of the system channel is required to deploy a new ordering service which used the block to create the system channel and form the ordering service of the network.</p><pre>TwoOrgsOrdererGenesis:<br>    &lt;&lt;: *ChannelDefaults<br>    Orderer:<br>        &lt;&lt;: *OrdererDefaults<br>        Organizations:<br>            - *OrdererOrg<br>        Capabilities:<br>            &lt;&lt;: *OrdererCapabilities<br>    Consortiums:<br>        SampleConsortium:<br>            Organizations:<br>                - *Org1<br>                - *Org2</pre><p>The Orderer: section of the profile creates the single node Raft ordering service used by the test network, with the OrdererOrg as the ordering service administrator. The Consortiums section of the profile creates a consortium of peer organizations named SampleConsortium:. Both peer organizations, Org1 and Org2, are members of the consortium. As a result, we can include both organizations in new channels created by the test network. If we wanted to add another organization as a channel member without adding that organization to the consortium, we would first need to create the channel with Org1 and Org2, and then add the other organization by <a href="https://hyperledger-fabric.readthedocs.io/en/release-2.2/channel_update_tutorial.html">updating the channel configuration</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f8aebf3b7903" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is the dirname in node.js?]]></title>
            <link>https://medium.com/@deepaktholia97/what-is-the-dirname-in-node-js-df31a3fe6618?source=rss-a501c8e6dee7------2</link>
            <guid isPermaLink="false">https://medium.com/p/df31a3fe6618</guid>
            <category><![CDATA[javascript-tips]]></category>
            <category><![CDATA[dirname]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[nodejs-tutorial]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[SimplifiedCoding]]></dc:creator>
            <pubDate>Mon, 20 Dec 2021 08:37:53 GMT</pubDate>
            <atom:updated>2021-12-20T08:37:53.265Z</atom:updated>
            <content:encoded><![CDATA[<p>In Node.js, __dirname is always the directory in which the currently executing script resides (<a href="https://nodejs.org/api/modules.html#modules_dirname">see this</a>). So if you typed __dirname into /f1/f2/myscript.js, the value would be /f1/f2.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df31a3fe6618" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[module.exports vs exports]]></title>
            <link>https://medium.com/@deepaktholia97/module-exports-vs-exports-865c8201f521?source=rss-a501c8e6dee7------2</link>
            <guid isPermaLink="false">https://medium.com/p/865c8201f521</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[javascript-export]]></category>
            <category><![CDATA[exports-and-imports]]></category>
            <category><![CDATA[modules]]></category>
            <category><![CDATA[require]]></category>
            <dc:creator><![CDATA[SimplifiedCoding]]></dc:creator>
            <pubDate>Sun, 19 Dec 2021 07:07:01 GMT</pubDate>
            <atom:updated>2021-12-19T07:07:01.762Z</atom:updated>
            <content:encoded><![CDATA[<p>module.exports vs exports</p><p>module.exports={</p><p>function1: &lt;function_name&gt;</p><p>var 1: &lt;variable_name&gt;</p><p>}</p><p>exports.function1= &lt;function_name&gt;</p><p>exports.var1 = &lt;variable_name&gt;</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=865c8201f521" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ways to create function in javascript]]></title>
            <link>https://medium.com/@deepaktholia97/ways-to-create-function-in-javascript-9648fe1f8c5?source=rss-a501c8e6dee7------2</link>
            <guid isPermaLink="false">https://medium.com/p/9648fe1f8c5</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[function]]></category>
            <category><![CDATA[function-definition]]></category>
            <category><![CDATA[javascript-development]]></category>
            <category><![CDATA[javascript-tips]]></category>
            <dc:creator><![CDATA[SimplifiedCoding]]></dc:creator>
            <pubDate>Sun, 19 Dec 2021 06:58:04 GMT</pubDate>
            <atom:updated>2021-12-19T06:58:04.961Z</atom:updated>
            <content:encoded><![CDATA[<p>Ways to create function in javascript</p><ol><li>function &lt;function_name&gt;(args){function_body}</li><li>const &lt;function_name&gt;= function(args){function_body}</li><li>var &lt;function_name&gt; = (args)=&gt;{function_body}</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9648fe1f8c5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to create a Http Server?]]></title>
            <link>https://medium.com/@deepaktholia97/how-to-create-a-http-server-4e73f134fdf3?source=rss-a501c8e6dee7------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e73f134fdf3</guid>
            <category><![CDATA[https]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[http-request]]></category>
            <category><![CDATA[listenserver]]></category>
            <category><![CDATA[nodejs-createserver]]></category>
            <dc:creator><![CDATA[SimplifiedCoding]]></dc:creator>
            <pubDate>Sun, 19 Dec 2021 06:30:40 GMT</pubDate>
            <atom:updated>2021-12-19T06:30:40.169Z</atom:updated>
            <content:encoded><![CDATA[<p>How to create a Http Server?</p><pre>const http = require(&#39;http&#39;);<br><br>const requestListener = function (req, res) {<br>  res.writeHead(200);<br>  res.end(&#39;Hello, World!&#39;);<br>}<br><br>const server = http.createServer(requestListener);<br>server.listen(8080);</pre><p>Suppose you have defined all yours apis inside app.js , then export it and use inside server.js :-</p><pre>const http = require(&#39;http&#39;);</pre><pre>const app = require(./app.js)  <br><br>const server = http.createServer(app);<br>server.listen(8080);</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e73f134fdf3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>