<?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 Vasyl Makukha on Medium]]></title>
        <description><![CDATA[Stories by Vasyl Makukha on Medium]]></description>
        <link>https://medium.com/@vasylmakukha?source=rss-d11f85442bde------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*IY0PM9u55XTZbLe8.</url>
            <title>Stories by Vasyl Makukha on Medium</title>
            <link>https://medium.com/@vasylmakukha?source=rss-d11f85442bde------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 07:19:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vasylmakukha/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[Pragmatic DLT Makes Exclusive Clutch Leaders List for Canada Developers!]]></title>
            <link>https://medium.com/pragmaticdlt/pragmatic-dlt-makes-exclusive-clutch-leaders-list-for-canada-developers-d90513621314?source=rss-d11f85442bde------2</link>
            <guid isPermaLink="false">https://medium.com/p/d90513621314</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[canada]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[clutch]]></category>
            <category><![CDATA[pragmatic-dlt]]></category>
            <dc:creator><![CDATA[Vasyl Makukha]]></dc:creator>
            <pubDate>Wed, 13 Feb 2019 17:36:40 GMT</pubDate>
            <atom:updated>2019-02-13T17:36:40.460Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SXWMaW84wzCs1HaajOGH6A.png" /></figure><p>As an innovative software development company with a focus on technical consulting and the fintech industry, we believe that the world economy is undergoing a shift caused by megatrends, particularly decentralization. Over this past year, we’ve specialized in fintech business consulting and quickly launch the proof of concept blockchain solutions and scale them as quickly as possible. Our success has not gone unnoticed, as <a href="https://www.youtube.com/watch?v=Xz5awGtthx0">Pragmatic DLT</a> has recently been recognized by among the leading <a href="https://clutch.co/ca/developers/blockchain">blockchain companies in Canada</a> on Clutch.co.</p><p>Clutch is a B2B ratings and reviews firm based in Washington DC who is committed to connecting small, medium, and large enterprises alike to services that match their business needs. Clutch business analysts conduct independent, quantitative research on services listed on their website. They collect direct-client feedback from clients who use the services listed.</p><p>At the heart of our evaluation are client reviews. Our clients have given direct feedback to Clutch analysts, resulting in insightful and comprehensive reviews. Based on our reviews that were collected, we have been awarded a 5-star out of 5-star rating, which is no small feat. We encourage you <a href="https://clutch.co/profile/pragmatic-dlt">read our reviews</a> in full, but here’s a look at a couple of our clients’ comments:</p><blockquote><strong><em>“Pragmatic DLT’s team provides transparent communication, and are skilled experts in blockchain.”</em></strong> — CEO, DropChain</blockquote><blockquote><strong><em>“Pragmatic DLT offered helpful, transparent advice about blockchain technology and data security. Their clear communication and efficient Agile methodology set them apart.”</em></strong> — CEO, Y-Productive</blockquote><p>We want to thank our clients for taking the time to participate in this process. Additionally, apart from being recognized by Clutch, we have also been featured amongst the top <a href="https://themanifest.com/business-consulting/firms#pragmaticdlt">business consultants</a> on their sister-website, The Manifest which is a business news and how-to website that provides industry reports and other metrics to help businesses narrow their searches and match their business needs. A portfolio of our work is also featured among <a href="https://www.goodfirms.co/companies/view/11381/pragmatic-dlt-inc">top software developers on Good Firms</a>.</p><p>Our presence on these lists has given us the opportunity to build new partnerships and display the versatility of our skills. With consulting and software development expertise, we look forward to facilitating the <a href="https://www.weforum.org/agenda/2017/12/when-is-sharing-not-really-sharing/">peer-to-peer economy</a>. In addition to the hard work and evolving knowledge of our team, we could not have achieved this level of recognition if it were not for the trust from our clients, and the support we’ve received from Clutch. Overall, we are excited to be selected to Clutch’s 2019 shortlist of B2B Service Providers. Together, we can continue to live up to our philosophy — building partnerships and delivering software solutions that make difference.</p><p>#ClutchLeader</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d90513621314" width="1" height="1" alt=""><hr><p><a href="https://medium.com/pragmaticdlt/pragmatic-dlt-makes-exclusive-clutch-leaders-list-for-canada-developers-d90513621314">Pragmatic DLT Makes Exclusive Clutch Leaders List for Canada Developers!</a> was originally published in <a href="https://medium.com/pragmaticdlt">Pragmatic DLT</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setup private Ethereum network in cloud]]></title>
            <link>https://medium.com/pragmaticdlt/setup-private-ethereum-network-in-cloud-3b6cf721d190?source=rss-d11f85442bde------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b6cf721d190</guid>
            <category><![CDATA[pragmatic-dlt]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Vasyl Makukha]]></dc:creator>
            <pubDate>Wed, 06 Feb 2019 18:29:06 GMT</pubDate>
            <atom:updated>2019-02-06T18:29:06.568Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*i3JrREeAzJVX3uQZpPtiug.png" /></figure><p>This insight is a step by step guide how to launch private Ethereum network. It is a great starting point to start experiments and play with different setup and configuration options for your specific needs (block creation time, number of nodes per availability zone, block target gas limit, etc…).</p><h3>Private chain</h3><p>A private chain can potentially have huge advantages over public — level of control we get is much higher. Designing architecture for specific business needs, with private network setup we have more flexibility around transaction cost, latency and other quality attributes.</p><h3>Key points about Ethereum Clique</h3><p>Ethereum Clique is Proof-of-Authority consensus algorithm implementation deployed to Rinkeby test network. PoA is a near perfect fit for private networks as it gives us full control over which nodes can seal (validate/create) blocks on the network. There are number of pre-approved seal nodes (validators) defined in genesis file. Addition of the new seal node requires voting by existing seal nodes.</p><p>There are three essential rules to note before we start:</p><p><strong>K</strong> — number of seal nodes on chain <br><strong>N</strong> — number of produced blocks</p><p>1. Chain will produce new blocks until <strong>floor(K2+1)</strong>of seal nodes are online <br>2. Node picked up to validate next block is defined as <strong>N mod K</strong> <br>3. Node can be picked up as validator if last <strong>floor(K + 12)</strong> blocks was not validated by it</p><h3>Test scenario</h3><p>A few words about how our test transaction looks like. In a nutshell it represents the following scenario:</p><p><strong>Given</strong>​ user logged in as brand <br><strong>And</strong>​ balance is 100 tokens <br><strong>When</strong>​ user types unit name <br><strong>And</strong>​ clicks create <br><strong>Then</strong>​ unit appears in unit list <br><strong>And</strong>​ balance is 99 tokens</p><p>Scenario is implemented in the smart contract in the following way:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GPjqbsXwcpg7iluv.png" /></figure><p>Under the hood the following business logic comes into play: <br>1. Check that sender has brand role (modifier) <br>2. Charge unitPrice as a fee from sender (erc20) <br>3. Create unit and save to array (update contract state) <br>4. Communicate what happened off-chain (emit event)</p><h3>Setup manual</h3><p><strong>0. Prerequisites</strong></p><p>As cloud platform we use Microsoft Azure. BTW, It kindly offers 200$ as trial option. We created 8 VMs in two regions. 4 VMs withing one availability zone of Central US region and three others within France Central. Each VM(<a href="https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sizes-general">DS1_v2</a>) has 1 vCPU, 7GB SDD, 3.5GB of RAM and Ubuntu 16 on board. Plus, a separate VM to deploy the Ethereum statistics. There is a list of machines needed for experiment with some useful info in the name (it’s a good idea to note IP address next to VM name): <br>1. boot-node-us <br>2. seal-1-node-us <br>3. seal-2-node-us <br>4. seal-3-node-us <br>5. boot-node-eu <br>6. seal-1-node-eu <br>7. seal-2-node-eu <br>8. seal-3-node-eu <br>9. stats-node</p><p><strong>1. Install go (to each node):</strong></p><pre>$ curl <a href="https://dl.google.com/go/go1.11.linux-amd64.tar.gz">https://dl.google.com/go/go1.11.linux-amd64.tar.gz</a> &gt; go1.11.linux-amd64.tar.gz <br>$ sudo tar -C /usr/local -xzf go1.11.linux-amd64.tar.gz <br>$ mkdir ~/.go</pre><p>add to /etc/profile:</p><pre>GOROOT=/usr/local/go <br>GOPATH=~/.go <br>PATH=$PATH:$GOROOT/bin:$GOPATH/bin</pre><pre>$ sudo update-alternatives — install “/usr/bin/go” “go” “/usr/local/go/bin/go” 0 <br>$ sudo update-alternatives — set go /usr/local/go/bin/go <br>$ go version</pre><pre><br>$ sudo update-alternatives — install “/usr/bin/go” “go” “/usr/local/go/bin/go” 0 <br>$ sudo update-alternatives — set go /usr/local/go/bin/go <br>$ go version</pre><p><strong>2. Download and build go-ethereum (on each node):</strong></p><pre>$ sudo apt-get update <br>$ sudo apt-get install -y build-essential <br>$ git clone <a href="https://github.com/ethereum/go-ethereum">https://github.com/ethereum/go-ethereum</a> <br>$ cd go-ethereum <br>$ git checkout tags/v1.8.16` (`git tag -l`) <br>$ make all</pre><p><strong>3. Setup ethstats</strong></p><p>In order to do this the best option is to use puppeth. First, install docker to stats-node:</p><pre>$ curl -fsSL <a href="https://download.docker.com/linux/ubuntu/gpg">https://download.docker.com/linux/ubuntu/gpg</a> | sudo apt-key add — <br>$ sudo apt-get install docker-compose <br>$ sudo usermod -aG docker $USER <br>$ relogin</pre><p>Then, run puppeth and follow CLI instructions to deploy ethstats:</p><pre>$ ~/go-ethereum/build/bin/puppeth</pre><p><strong>4. Setup seal-node-n (repeat to all seal nodes)</strong></p><pre>$ mkdir -p ~/supplychain/seal-node-n</pre><p>Create a bunch of tests accounts — create at least 2–3 accounts.</p><pre>$ cd ~/supplychain <br>$ ~/go-ethereum/build/bin/geth — datadir seal-node-n/ account new</pre><p><strong>5. Create `genesis.json` using puppeth (run puppeth on stats-node and follow CLI instruction to generate genesis file)</strong></p><pre>$ ~/go-ethereum/build/bin/puppeth</pre><p>Use puppeth CLI to export just created genesis file to home directory.</p><p><strong>6. Init seal-node-n</strong></p><pre>$ cd ~/supplychain <br>$ scp -r _user_@_stats-node-ip_:~/supplychain.json . <br>$ ~/go-ethereum/build/bin/geth — datadir seal-node-n/ init supplychain.json</pre><p><strong>7. Run boot-node:</strong></p><pre>$ mkdir -p ~/supplychain/bootnode <br>$ cd ~/supplychain <br>$ scp -r _user_@_stats-node-ip_:~/supplychain.json . <br>$ ~/go-ethereum/build/bin/geth — datadir bootnode init supplychain.json <br>$ ~/go-ethereum/builds/bin/bootnode -genkey boot.key <br>$ ~/go-ethereum/build/bin/bootnode -nodekey boot.key -verbosity 9 -addr :30310</pre><p><strong>8. Run seal-node-n:</strong></p><p>write pass to `seal-node-n.pass`</p><pre>$ ~/go-ethereum/build/bin/geth — datadir seal-node-n/ — syncmode ‘full’ — port 30311 — rpc — rpcaddr ‘0.0.0.0’ <br> — rpcport 8501 — rpcapi ‘personal,db,eth,net,web3,txpool,miner’ — bootnodes <br>‘_bootnode_enode_@_bootnode_ip_:30310’ <br> — networkid 1605 — gasprice ‘1’ -unlock ‘_seal_node_n_account_’ — password ./seal-node-n.pass <br> — mine — ethstats seal-node-n-us:_pass_phrase_@_stats_node_ip_:8081 — targetgaslimit 94000000`</pre><p>To get the network working smooth we should take care about peer discovery.</p><p>There are two options: <br>1. Create _datadir_/static-nodes.json with the following content:</p><pre>[ <br>“enode://pubkey@ip:port”, <br>“enode://pubkey@ip:port” <br>]</pre><p>2. Connect to geth console using command and add peers manually:</p><pre>$ ~/go-ethereum/build/bin/geth attach ipc:seal-node-n/geth.ipc <br>&gt; admin.addPeer(“enode://pubkey@ip:port”)</pre><p>Below you can see console output of three US seal nodes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*x2GF7LM4QrLrmunh.png" /></figure><p>Whereas ethstats screen should look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vaVdgGLa6aw5uCdv.png" /></figure><h3>Running transactions</h3><p>We encourage you to play with network setup and configuration. Meanwhile, for demonstration purposes we provide a few results obtained with the following configuration:</p><p>1. Bootnode, 3 seal nodes in EU, 3 seal nodes in US <br>2. Block creation time 2 seconds <br>3. Block target gas limit 94000000</p><p><strong>Interval tests</strong></p><p>Transactions are submitted periodically(every second). <br>500 transactions were accepted by network in 500 in 8161:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CqeIYtWviF5TerbJ.png" /></figure><p>300 transactions are accepted by network in 5900:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_zSu0Xe3ZIAG8Cge.png" /></figure><p><strong>Sequence tests</strong></p><p>Transactions are executed in batches. Each subsequent batch starts after previous is finished. <br>100 transactions each were accepted by network in 5610:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hHT5iBmJy_QjlNYa.png" /></figure><p>700 transactions are accepted by network in 14937:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ddwbxjaUWV1_xWM4.png" /></figure><p>As it is stated earlier the main purpose of this article is to cover devops part. Thus, we believe, you will invest more time in understanding Clique tuning it instead of having headache setting it up. Soon we release insight how to tune private setup to get maximum TPS! You are always welcome to reach out for advice to one of our <a href="https://pragmaticdlt.com/">Pragmatic DLT SWAT Teams</a> or <a href="https://pragmaticdlt.com/onlineacademy.html">to add Ethereum platform to your skillset</a>. Stay tuned!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b6cf721d190" width="1" height="1" alt=""><hr><p><a href="https://medium.com/pragmaticdlt/setup-private-ethereum-network-in-cloud-3b6cf721d190">Setup private Ethereum network in cloud</a> was originally published in <a href="https://medium.com/pragmaticdlt">Pragmatic DLT</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>