<?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 Viswa on Medium]]></title>
        <description><![CDATA[Stories by Viswa on Medium]]></description>
        <link>https://medium.com/@rviswa00?source=rss-d4bdd4473d4c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*laQy-h_3S6WQvt3T84XX-g.png</url>
            <title>Stories by Viswa on Medium</title>
            <link>https://medium.com/@rviswa00?source=rss-d4bdd4473d4c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 23:52:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rviswa00/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[Multi-Processing in Python to Speed up your Data Science]]></title>
            <link>https://medium.com/@rviswa00/multi-processing-in-python-to-speed-up-your-data-science-8a810267b07?source=rss-d4bdd4473d4c------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a810267b07</guid>
            <category><![CDATA[multiprocessing]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[multithreading]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Viswa]]></dc:creator>
            <pubDate>Sat, 26 Oct 2019 19:31:48 GMT</pubDate>
            <atom:updated>2019-10-27T06:20:32.272Z</atom:updated>
            <content:encoded><![CDATA[<h3>MultiProcessing in Python to Speed up your Data Science</h3><p>When you work with large datasets, usually there will be a problem of slow processing. To optimize your code running time and speed up the process you’ll eventually consider Parallelization as one of the methods. In this article, we’ll explore how to use parallelization in python to accelerate your data science.</p><p>Python offers two built-in libraries for parallelization: Multiprocessing and MultiThreading.</p><h3>MULTI PROCESSING VS MULTI THREADING</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/996/1*FSEGozbKSrPGlBDf4Dl0Zg.jpeg" /><figcaption>Source: GeekBots</figcaption></figure><h4>MULTI PROCESSING</h4><p>A process is an instance of a computer program being executed. Each process has its own memory space it uses to store the instructions being run, as well as any data it needs to store and access to execute.</p><h4>MULTI THREADING</h4><p>Threads are components of a process, which can run parallelly. There can be multiple threads in a process, and they share the same memory space, i.e. the memory space of the parent process. This would mean the code to be executed as well as all the variables declared in the program would be shared by all threads.</p><h3>MULTITHREADING VS MULTIPROCESSING IN PYTHON</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sT_uIv3aWP6GHQPfqVOwiA.png" /><figcaption>Source: FloydHub Blog</figcaption></figure><p>While using Multithreading in Python to dodge multiple threads writing to the same memory location, Python uses <strong>Global Interpreter Lock (GIL)</strong>.</p><p>GIL is a mutex (or a lock) that allows only one thread to hold the control of the Python interpreter. Only a single thread can acquire that lock at a time, which means <strong>the interpreter ultimately runs the instructions serially</strong>. This design makes memory management thread-safe, but as a consequence, it can’t utilize multiple CPU cores at all.</p><p>Based on the nature of the task we have to switch between Multithreading and MultiProcessing.</p><p>Multithreading performs well in tasks such as Network IO, or user interaction which does not require Much of CPU computation.</p><p>MultiProcessing performs well in tasks involving heavy CPU Computations.</p><p>So for Data science tasks that require CPU Computation, we go with Multiprocessing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*Np23_JCXNAnUviuNF9Cx0g.jpeg" /><figcaption>Source: DevRant</figcaption></figure><h3>PYTHON IMPLEMENTATION</h3><p>Here I will explain a task of calculating the average of employee efficiency from an Anonymous Dataset which has two files,</p><p><strong>Employee.csv — </strong>Has Employee Code and Name</p><p><strong>Data.csv — </strong>Has Date, Employee Code, Efficiency (Production Achieved by them)</p><p>Download Necessary Files and Jupyter NoteBook from the <a href="https://github.com/viswaravi/Blog-Archives/tree/master/Multiprocess%20in%20Python">repo</a></p><p>First off, we begin with Importing Necessary Packages and see the number of cores in our Computer CPU</p><h4>Import</h4><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fsnipit.io%2Fembed%2F20939&amp;dntp=1&amp;url=https%3A%2F%2Fsnipit.io%2Flists%2F6994%2F20939&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=snipit" width="800" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/3427199eeaf490350d058da9669bfef6/href">https://medium.com/media/3427199eeaf490350d058da9669bfef6/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/166/1*_lPB7NHyHMePB828XMjJHg.png" /></figure><h4>Inspect</h4><p>Next, we read the files and see examine whats Inside,</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fsnipit.io%2Fembed%2F20942&amp;dntp=1&amp;url=https%3A%2F%2Fsnipit.io%2Flists%2F6994%2F20942&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=snipit" width="800" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d0c2c728f2237e4e4a3a327962bdcf1e/href">https://medium.com/media/d0c2c728f2237e4e4a3a327962bdcf1e/href</a></iframe><p>As already said the Columns are present and were read into a Pandas Dataframe.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/303/1*6RzAeN4Kz7c3pBZXjqS6qQ.png" /><figcaption>Data.csv</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/205/1*3DXOurhvmDV7dzS1qsKAUQ.png" /><figcaption>Employee.csv</figcaption></figure><h4>Get Data</h4><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fsnipit.io%2Fembed%2F20943&amp;dntp=1&amp;url=https%3A%2F%2Fsnipit.io%2Flists%2F6994%2F20943&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=snipit" width="800" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6181b1076147af183e20df50f7b5498b/href">https://medium.com/media/6181b1076147af183e20df50f7b5498b/href</a></iframe><p>Next, we read our employee data frame and get the names of employees and store it in a Python Dictionary and read employee code and store unique codes in a list</p><h4>MultiProcess</h4><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fsnipit.io%2Fembed%2F20973&amp;dntp=1&amp;url=https%3A%2F%2Fsnipit.io%2Flists%2F6994%2F20973&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=snipit" width="800" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/f5d9fc3936174cd6a137b64a52b4dffc/href">https://medium.com/media/f5d9fc3936174cd6a137b64a52b4dffc/href</a></iframe><p>This is where we really implemented Multiprocessing. I’ll explain the code line by line to get a better understanding.</p><p>1. Initially, we <strong>Import </strong>the Python file which is going to do the job for us as a Module with the python filename</p><p>2. To Utilize Maximum Power from our Machine we assign the <strong>Number of processes</strong> to be created as the Number of Cores Available in CPU</p><h4><a href="https://docs.python.org/2/library/multiprocessing.html">Manager Object</a></h4><blockquote>Managers provide a way to create data which can be shared between different processes. A manager object controls a server process which manages <em>shared objects</em>. Other processes can access the shared objects by using proxies.</blockquote><p>3. Creation of <strong>Manager Object</strong> to access the data processed during Multiple processes created.</p><p>4. Creating <strong>Manager Dict</strong> Object which is a shared object and can be used by multiple processes. Here the efficiency calculated for each employee is stored in the <strong>Shared Object.</strong></p><p>5. The data frame object containing data is<strong> splitted</strong> into 12 (in my case) as the Number of partitions to equally split the data for each process.</p><p>6. <strong>Pool</strong> Object is available in Python which has a map function that is used to <strong>distribute input data</strong> across multiple processes.</p><p>Pool Object is Initialized with Number of Processes to be created.</p><p>7. <strong>itertools</strong> package in Python has a <strong>repeat</strong> method that returns a <strong>generator object using yield</strong>. Here the shared Dict Object is shared for each process created.</p><h4><a href="https://docs.python.org/2/library/itertools.html#itertools.repeat">Repeat</a></h4><blockquote>Make an iterator that returns <em>object</em> over and over again. Runs indefinitely unless the <em>times</em> argument is specified.</blockquote><p>8. <strong>Map </strong>method of the <strong>pool</strong> <strong>Object</strong> is invoked with arguments which is the function that initiates process creation</p><ul><li>The Method that is going to run in each process. Here it is the <strong>process_rows</strong> method.</li><li><a href="https://www.geeksforgeeks.org/zip-in-python/"><strong>Zip</strong></a> Object to hold both shared dict object and the data to be processed.</li><li>The number of Processes to map</li></ul><p>9. <strong>Tqdm </strong>used to mark the end of the process execution</p><p>10,11. The pool objects are cleared from memory.</p><h4>MultiProcess File</h4><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fsnipit.io%2Fembed%2F20944&amp;dntp=1&amp;url=https%3A%2F%2Fsnipit.io%2Flists%2F6994%2F20944&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=snipit" width="800" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/8c4ec6998110803097f6f5421cdaa529/href">https://medium.com/media/8c4ec6998110803097f6f5421cdaa529/href</a></iframe><p>Here is a Separate Python file saved as <strong>workers.py </strong>which will be called during Multiprocessing. This file takes data and efficiency average for each month for each employee. Here you can replace the code with your implementation for your use case.</p><h4>Plot</h4><p>Finally, we can plot the results. I have used <a href="https://plot.ly/">Plotly</a> for Better Visualisation.</p><p><strong>Months</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fsnipit.io%2Fembed%2F20946&amp;dntp=1&amp;url=https%3A%2F%2Fsnipit.io%2Flists%2F6994%2F20946&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=snipit" width="800" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e1e1dfa25c56bccc9911247c2ed5e964/href">https://medium.com/media/e1e1dfa25c56bccc9911247c2ed5e964/href</a></iframe><p>while plotting data for a year, we need to get the names of months. The Code below will do the trick for us.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/122/1*hPZ6u59kMRVni4z_1VYxwQ.png" /></figure><p><strong>Plotly</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fsnipit.io%2Fembed%2F20947&amp;dntp=1&amp;url=https%3A%2F%2Fsnipit.io%2Flists%2F6994%2F20947&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=snipit" width="800" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6e68d2c3689e1426364a580810c88dab/href">https://medium.com/media/6e68d2c3689e1426364a580810c88dab/href</a></iframe><p>Next, we plot a line chart to visualize the results.</p><p>Here we can see an appealing interactive DashBoard which shows Efficiency for all employees during the year 2018 averaged for each month.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Po9bYa-sxAR5dG6lTtMd-Q.png" /></figure><p>I want to keep this article as simple as possible, so to learn more about Multithreading and MultiProcessing you can see this video,</p><h3>REFERENCES</h3><ol><li><a href="https://blog.floydhub.com/multiprocessing-vs-threading-in-python-what-every-data-scientist-needs-to-know/">FloydHub Blog</a></li><li><a href="https://docs.python.org/3.4/library/multiprocessing.html?highlight=process">Python Doc for Multi-Processing</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a810267b07" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Decentralized application using Angular7 and Ethereum PART-1]]></title>
            <link>https://medium.com/@rviswa00/building-decentralized-application-using-angular7-and-ethereum-part-1-1330223785f?source=rss-d4bdd4473d4c------2</link>
            <guid isPermaLink="false">https://medium.com/p/1330223785f</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[decentralized]]></category>
            <category><![CDATA[metamask]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[angular]]></category>
            <dc:creator><![CDATA[Viswa]]></dc:creator>
            <pubDate>Fri, 05 Apr 2019 13:44:56 GMT</pubDate>
            <atom:updated>2019-04-08T14:07:34.472Z</atom:updated>
            <content:encoded><![CDATA[<h3>Build a DApp using Ethereum and Angular7 PART-1</h3><p>This is an article that will quickly guide you through the steps to build a Decentralized application using Angular7 and Ethereum</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*7asHZ3A2cA_7_ANFYdVq5w.png" /></figure><p>This Part-1 will concentrate on the setup and console level access and the next part will show how to connect to Angular7 to ethereum</p><h3>Node JS</h3><p>First, make sure that you have installed Nodejs on your computer</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/224/1*Bm7ZyA1vvl009Fxnn-UJFA.jpeg" /></figure><p>Check your NodeJs version using</p><pre><strong>$ node -v</strong></pre><h3>Truffle</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*Lgn5-rD_7oL15VtbSusD7Q.png" /></figure><p>Next, you will need <strong>Truffle</strong>, Which allows you to build DApps on Ethereum. It allows us to write smart contacts with the Solidity programming language. It also enables us to test our smart contracts and deploy them to the blockchain. It also gives us a place to develop our client-side application. Install Truffle using</p><pre><strong>$ npm install -g truffle</strong></pre><h3>Ganache</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/181/1*cPyCoG5Ttk9AsPKzw9rGnw.jpeg" /></figure><p>Next, we will use Ganache, a local in-memory blockchain. You can install Ganache by <a href="https://truffleframework.com/ganache">downloading </a>it from the Truffle Framework website. It will give us 10 external accounts with addresses on our local Ethereum blockchain. Each account is preloaded with 100 fake ether.</p><blockquote><strong>Don’t forget to start this server before working with the application every time as this is the Blockchain Network you are going to connect.</strong></blockquote><h3>Metamask</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/757/1*eSJrrAeM6TpYt0r_Gopqow.png" /></figure><p>You will need <a href="https://chrome.google.com/webstore/detail/metamask/nkbihfbeogaeaoehlefnkodbefgpgknn?hl=en">MetaMask</a>, a special Browser plugin which allows us to connect to ethereum blockchain network</p><p>In this article, I will guide you in VSCode and I recommend you to add syntax highlighting for solidity and Angular in VSCode</p><h3>Setup</h3><p>First, create a directory for our application</p><pre><strong>$ mkdir Ang_eth<br>$ cd Ang_eth</strong></pre><p>To create a truffle project in this directory, run</p><pre><strong>$ truffle init</strong></pre><p>This will generate some files for you,</p><p>This will download some files and creates the truffle project</p><p>Contracts folder holds all our smart Contracts</p><p>Migration folder is used to deploy our smart contracts to blockchain network</p><p>Test folder is used to test our Dapp</p><p><strong>truffle-config.js</strong> holds the configuration for our project</p><p>In that uncomment the <strong>development</strong> option which tells the project to connect to localhost 127.0.0.1</p><pre>development: {</pre><pre>host: &quot;127.0.0.1&quot;, // Localhost (default: none)</pre><pre>port: 7545, // Standard Ethereum port (default: none)</pre><pre>network_id: &quot;*&quot;, // Any network (default: none)</pre><pre>},</pre><p>Now, let’s run our ganache application,</p><p>In that create a new workspace for our Application with a workspace name “Demo”</p><p>Add our truffle config file in that using add project button and click save to start our local blockchain network</p><p>Now, let’s look into our truffle config file,</p><p>In the development option use port 7545, that is the default port for our local blockchain network hosted from Ganache</p><pre>Networkid : “*”</pre><p>represents we can connect to any network.</p><h3>SMART CONTRACT</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/611/1*hxc8uM7h0hRJB_6QiLzS6Q.png" /></figure><p>Now let’s write our own smart contract to store asset detail in the blockchain</p><p>Create a new file in Contracts folder and save it as Asset.sol</p><p><strong>.sol</strong> represents that this is a solidity file</p><pre>contract Asset {</pre><pre>constructor() public { }</pre><pre>struct Item {</pre><pre>uint id;</pre><pre>string name;</pre><pre>uint cost;</pre><pre>address owner;</pre><pre>}</pre><pre>mapping(uint =&gt; Item) public assets;</pre><pre>uint public assetCount = 0 ;</pre><pre>function addAsset (string memory _name, uint _cost) public {</pre><pre>assetCount ++;</pre><pre>assets[assetCount] = Item(assetCount, _name, _cost,msg.sender);</pre><pre>}</pre><pre>}</pre><p>This contract contains a structure to store asset details.</p><p>A mapping represents a map similar to Dictionaries in python or HashSet in Java which is the way of storing things in Solidity</p><p><strong>Assets</strong> is a mapping which is a key-value pair of <strong>assetid</strong> and asset structure.</p><p>By default, solidity don&#39;t provide a to determine the size of a mapping or a way to iterate over it so we use <strong>assetCount</strong> as a way to store the number of assets we store on the blockchain</p><p><strong>addAsset</strong> method allows us to add a new asset from our external interface.</p><p><strong>msg.sender </strong>is used to access the account which is sending the transaction</p><p>so it will be owner account so we store it as our assets owner</p><h3>DEPLOYING CONTRACTS</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YnrNF9Do1EQ8UNX76GayQQ.png" /></figure><p>To deploy our contract,</p><p>Create a new file <strong>2_deploy_contracts.js</strong></p><pre><strong>$  touch 2_deploy_contracts.js</strong></pre><p>In the migrations folder.</p><p>The number on the start of name is used for order of execution of migration. So use 2 to deploy our contract after the initial migrations are finished.</p><p>This file contains</p><pre>var Asset = artifacts.require(&quot;../contracts/Asset.sol&quot;);</pre><pre>module.exports = function(deployer) {</pre><pre>deployer.deploy(Asset);</pre><pre>};</pre><p>In the root folder use</p><pre><strong>$  Truffle migrate — reset</strong></pre><p>to deploy our contracts to blockchain network</p><h3>Accessing Smart Contracts</h3><p>To access the Blockchain network from our console using truffle</p><pre><strong>$  Truffle console</strong></pre><p>This will bring us to the truffle environment</p><p>Now, let&#39;s access the data variable <strong>assetCount</strong></p><pre><strong>truffle(development)&gt; app.assetCount()<br>BN {<br>  negative: 0,<br>  words: [ 0, &lt;1 empty item&gt; ],<br>  length: 1,<br>  red: null }</strong></pre><p>This shows the value of assetCount storage variable.</p><p>BN represents that&#39;s it a variable of type Big Number and the value in words 0 represents our initial value that is 0.</p><p>Now let’s add an asset to our smart contract</p><pre><strong>truffle(development)&gt; app.addAsset(&#39;chair&#39;,4000)<br></strong>{ tx:<br>   &#39;0xc51bcc56f08b5b3b5a4a09c0ca77e8c27e699be3acfe41275401b3f4720a0394&#39;,<br>  receipt:<br>   { transactionHash:<br>      &#39;0xc51bcc56f08b5b3b5a4a09c0ca77e8c27e699be3acfe41275401b3f4720a0394&#39;,<br>     transactionIndex: 0,<br>     blockHash:<br>      &#39;0x20032cdc71d8c03dc4756c7d8f3e38cf89ec90ff89acd6ffe30d9caa87d272cf&#39;,<br>     blockNumber: 5,<br>     from: &#39;0xba677b9ad75c770474f5e6a3a1c612c34b1cfbbc&#39;,<br>     to: &#39;0xccb1fb08000e71736a8aacef324f799007c2a73c&#39;,<br>     gasUsed: 124645,<br>     cumulativeGasUsed: 124645,<br>     contractAddress: null,<br>     logs: [],<br>     status: true,<br>     logsBloom:<br>      &#39;0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000&#39;,<br>     v: &#39;0x1b&#39;,<br>     r:<br>      &#39;0xb303bcc9a0dce26fefc1e2ac1af047901858105c665d64d849f5b4ff4c0ca49d&#39;,<br>     s:<br>      &#39;0x4f69a06c8ee6be482ccf0686a707f8f836b302b4a4570f4a3edba245f7cfae3f&#39;,<br>     rawLogs: [] },<br>  logs: [] }</pre><p>This makes a transaction and adds our asset to our network</p><p>To view the asset added to our blockchain</p><pre><strong>truffle(development)&gt; app.assets(1)<br></strong>Result {<br>  &#39;0&#39;:<br>   BN {<br>     negative: 0,<br>     words: [ 1, &lt;1 empty item&gt; ],<br>     length: 1,<br>     red: null },<br>  &#39;1&#39;: &#39;chair&#39;,<br>  &#39;2&#39;:<br>   BN {<br>     negative: 0,<br>     words: [ 4000, &lt;1 empty item&gt; ],<br>     length: 1,<br>     red: null },<br>  &#39;3&#39;: &#39;0xba677b9Ad75c770474F5E6a3a1C612C34b1Cfbbc&#39;,<br>  id:<br>   BN {<br>     negative: 0,<br>     words: [ 1, &lt;1 empty item&gt; ],<br>     length: 1,<br>     red: null },<br>  name: &#39;chair&#39;,<br>  cost:<br>   BN {<br>     negative: 0,<br>     words: [ 4000, &lt;1 empty item&gt; ],<br>     length: 1,<br>     red: null },<br>  owner: &#39;0xba677b9Ad75c770474F5E6a3a1C612C34b1Cfbbc&#39; }</pre><p>This is how we can access our blockchain from the console</p><p>Let’s see how we can connect our Angular7 to our network in the next part</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1330223785f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>