<?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 Saketh Teki on Medium]]></title>
        <description><![CDATA[Stories by Saketh Teki on Medium]]></description>
        <link>https://medium.com/@vteki?source=rss-3df9965a2808------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*YLXhLBc1UIrmNbcgF8hJ1A.jpeg</url>
            <title>Stories by Saketh Teki on Medium</title>
            <link>https://medium.com/@vteki?source=rss-3df9965a2808------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 19:33:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vteki/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[Hyperledger Fabric — The Modular Blockchain Framework for Enterprise]]></title>
            <link>https://coinsbench.com/hyperledger-fabric-the-modular-blockchain-framework-for-enterprise-ec08080a7b3e?source=rss-3df9965a2808------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec08080a7b3e</guid>
            <category><![CDATA[hyperledger]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[distributed-ledgers]]></category>
            <category><![CDATA[hyperledger-fabric]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Saketh Teki]]></dc:creator>
            <pubDate>Sun, 14 Aug 2022 12:35:17 GMT</pubDate>
            <atom:updated>2022-08-18T06:16:53.766Z</atom:updated>
            <content:encoded><![CDATA[<h3>Hyperledger Fabric — The Modular Blockchain Framework for Enterprise</h3><p><em>The concepts and integral core parts of the Linux foundation’s Blockchain solution for Enterprise |GDPR compliant Data and Document Storage use case| The Forbes List of Blockchains 2022 using Hyperledger fabric|</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WxkA4rhA8cxZeuWQ" /></figure><p><em>So, how does it differ from the Permissionless Public Blockchains out there ?<br>what factors are to be considered in terms of Scalability, Privacy and Integrity?<br>what makes it a robust and sustainable solution framework?</em></p><blockquote>MSP &amp; Policies <br>Crypto Artifacts &amp; Tools<br>Architecture &amp; Protocols<br>Containerization<br>Network Metrics for Analytics</blockquote><p><em>There were major upgrades and changes in the features version to version. At the time of writing, the latest fabric version is 2.4 and the maintenance of system channel is deprecated and is considered as legacy.</em></p><blockquote>Membership Service Provider(MSP) &amp; Policies</blockquote><p>MSP and Policies are the backbone of the solution and are responsible for any activity that happens on the blockchain. For the advance and fine grain control over the processes to run in a certain way the channel is designed, has to be defined using the policies and the Node Organizational Units(OU).</p><p>Each organization however small it may be has a local MSP which determines the roles for its members based on level of accessibility required, crypto activities to be performed, administrative privileges for configuration upgrades etc.</p><p>Later, when two or more organizations come together to create a channel for a common ledger record, they agree upon a configuration and the pre-determined rules so as to which type of member are allowed for various crypto activities, the new channel MSP will be created, along with the channel policies defining the fabric chaincode lifecycle, chaincode endorsement etc.</p><p><strong>X.509 PKI Certificate Standard:</strong> [RFC5280]<br><strong>Signature Algorithm:</strong> [RFC3279], [RFC4055], and [RFC4491] list supported signature algorithms, but other signature algorithms may also be supported. SHA-256 with RSA encryption is widely adopted by CAs. <br>Check out the RFC in detail here <a href="https://www.ietf.org/rfc/"><em>https://www.ietf.org/rfc/</em></a> <br><strong>MSP identity validity rules:</strong> Cross iCA signed are considered and the internal nodes are ignored, by default and the iCAs must be signed by exactly one of the rCAs.<br><strong>Endorsement policy:</strong> <br>Chaincode level — Its defined at the initial configuration stage that certain nodes have the permission to endorse a transaction.<br>Collection level/Sate based/Key level — Is required when a private data collection is implemented(private transactions in a channel) and certain users/peers should be endorsing the transactions based on the organization’s regulations.</p><blockquote>Crypto Artifacts &amp; Tools</blockquote><p>Well, these are the executable binaries provided by Hyperledger fabric to compute along with inputs(CLI arguments) for the necessary operations like configuration upgrades, file format translations and the peer chain code based etc.</p><p>The config updates can only be done by specified users, based on pre-agreed permissions set at the policy level when the channel was created by the orgs. If it isn’t set, it would go with the signature based priority level acceptance.</p><p>The environmental variables has to be set, the file paths must be provided accordingly while executing the binaries for each org/channel.</p><p><strong>configtxgen</strong> — This executable binary is used for various purposes and is a powerful tool for fabric:<br>1. To create Genesis block<br>2. To generate Channel file<br>3. To update Anchor peer config<br>4. To Generate Organization definition file<br>It takes <em>configtx.yaml</em> as its input file which consists of the configuration details, capabilities, etc.</p><p><strong>configtxlator — </strong>This binary is used to convert the files from <em>protocol buffer</em> format to <em>json</em> and vice versa. Its also used to create config update file using “<em>compute_update”</em> subcommand. It can be used directly at CLI or a REST server can be set up for API calls.</p><blockquote>Protocol buffers are Google’s language-neutral, platform-neutral, extensible mechanism for serializing structured data. <a href="https://developers.google.com/protocol-buffers">https://developers.google.com/protocol-buffers</a></blockquote><p><strong>peer — </strong>It consists of a few subcommands to perform various tasks related to peer nodes like joining a peer to a channel, chaincode smart contract whole lifecycle processes — packaging, installing, approvals, committing, updating and querying. Its also used to operate node’s state databases, resetting etc.</p><p><strong>cryptogen — </strong>This is a common non-prod used command to generate the crypto materials for the orgs and channels for test network. It takes a “&lt;config&gt;.<em>yaml”</em> input file(defined configuration) and creates the MSP, users, Peer and Orderer Orgs etc.</p><p><strong>ledgerutil — </strong>Its used for analytical purposes to compare and query the ledger of immutable records. “<em>identifytx”</em> is a subcommand which allows us to extract all the transactions related to a key(s) in a json format. This is used in combination with “<em>ledgerutil compare”</em> command where the output of <em>compare</em> gives us the difference in records with two peer nodes and <em>identifytx</em> is used to extract the extra set of transactions.</p><blockquote>Architecture &amp; Protocols</blockquote><p>We may know how the blockchain works in general(public) but here in the case of Hyperledger fabric, a blockchain is a logical set of the World State and the Ledger. World State is the current or the latest state (DB) of the business objects for an organization or network, which can be updated and this every historic previous state is stored in as an immutable ledger of records, present or copied across various nodes in the network making it a <strong>Distributed Ledger Technology</strong>.</p><p>The solution can be implemented using different state databases, based on the business object’s data requirements(json, kvp etc.) such as CouchDB or LevelDB. The choice and pluggable way of using the internal parts makes it a Modular blockchain solution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*cnViTQrODbEo_saSyd3XPQ.png" /><figcaption>Hyperledger Fabric Architecture and Transaction Flow</figcaption></figure><p><strong>Ordering Service and Crash Fault Tolerant Protocols</strong> — Orderers are the block builders and follow the strict ordering technique and then transmit it to all the peers to update the Ledger. This system must be crash fault tolerant so in the earlier version, <strong>Apache</strong> <strong>Kafka</strong> technology is used as messaging cluster service which is later deprecated. <br>In the recent upgrades, <strong>Raft protocol</strong> is being used instead of Kafka due to its simplicity and robust nature of determining the leader among the nodes with its randomizing technique and the ease of implementing it and the config is also considered as first step towards <strong>BFT</strong> (Byzantine Fault tolerant), but not yet to the full making it unreliable in case of nodes going offline. Checkout Hyperledger Sawtooth for BFT implementation module.<br>It features, Leader election with randomized timer technique for nodes and split voting method in case of tie, the Log replication among the Orderers or the consenter set. Each channel or the organization can have its own orderer set and each instance has its own leader which makes it decentralized.</p><p><strong>Gossip Data Dissemination Protocol</strong> — In order to unburden the network orderer system, the process is divided into transaction execution peers and transaction orderer nodes. Fabric implemented this protocol to define the data/block dissemination among the peers. This eliminates the delay issues, offline and synchronizing when back up, corrupted data/hacks etc.<br>The peers can communicate among them and get in synchronized with the consensus agreed current ledger. The regular heartbeat messages are signed and sent to fellow peers to know if that peer is online or available. <br><strong>Leader peer</strong> is the one which pulls the ledger from orderer and initializes the dissemination of the block to the peer network. <br>The <strong>Anchor Peer</strong> is responsible for the config updates to be done and sent to remaining peers and also to learn about the peers from other organizations. <br>The <strong>bootstrapped peer</strong> contains the endpoint data of its own organization and can be configured to share information for external org as well, which is by default is obtained from the anchor peer.</p><p><strong>Smart Contract</strong>— The logic defined to execute transactions of business objects on the Ledger. The get, put and delete operations are being coded into these and from a developer point of view, its how a business model runs and operational functions are defined and is executed on a peer node of an organization. Contracts are defining logic in detailed of how your internal business logic flows and the transactional/conditional features of the tokens, which are the zero ground unit of the DApp or the blockchain.</p><p><strong>Chaincode</strong> — Grouping of smart contracts as a package for deployment by admins and its also used for low level system programming for fabric. Every chaincode has its endorsement policy to define which nodes of which organizations can participate/sign a transaction to make it a valid one.<br>There are a few default in system Chaincodes which maintain the regular usage and the update operations of smart contracts across the network like configuration updates, querying, endorsement and validation operations.</p><blockquote>Containerization</blockquote><p>Hyperledger Fabric uses containerization of the modules in its solution making it platform independent, isolated, scalable and robust. <br>Each node and every part of the architecture is run on containers(docker) making the solution highly available when its orchestrated properly for every organization in the blockchain network.<br>In the latest versions of 2.x Alpine based docker images were introduced which use less space and with less security vulnerabilities. All the Linux version Images are available in the docker hub (Podman compatible), including the kafka, zookeper and the explorer DB.</p><blockquote>Network Metrics for Analytics</blockquote><h4><strong>Operations Services</strong></h4><p>The peer and orderer host a http server which can be used as an API for network metrics collection. It exposes the Logs, health checks and operational values which can be extracted and used for enhancements in the network. The access for these metrics can be restricted and the config should be defined in the respective yaml files. The default docker daemon and the StateDB health checks are to be enabled for basic fault Monitoring.</p><p><strong>Prometheus and StatsD</strong>— Prometheus is a scrapper which when configured at the peer/orderer level, it pulls from the nodes with defined threshold and settings whereas StatsD is a push kind of system, which just collects the data pushed by the nodes in regular intervals. Channel level metrics can be pulled using StatsD. A total of 166 metrics are available with 83 of each.</p><p><strong>broadcast_processed_count:</strong> The number of transactions processed. <strong>broadcast_validate_duration:</strong> The time to validate a transaction in seconds.<br><strong>consensus_etcdraft_active_nodes: </strong>Number of active nodes in this channel. <strong>consensus_etcdraft_cluster_size:</strong> Number of nodes in this channel.<br>l<strong>edger_block_processing_time:</strong> Time taken in seconds for ledger block processing. <br><strong>ledger_blockchain_height:</strong> Height of the chain in blocks. <strong>ledger_blockstorage_and_pvtdata_commit_time:</strong> Time taken in seconds for committing the block and private data to storage. <strong>ledger_blockstorage_commit_time:</strong> Time taken in seconds for committing the block to storage. <br><strong>ledger_statedb_commit_time:</strong> Time taken in seconds for committing block changes to state db. <br><strong>ledger_transaction_count:</strong> Number of transactions processed. <strong>logging_entries_checked:</strong> Number of log entries checked against the active logging level <br><strong>logging_entries_written:</strong> Number of log entries that are written</p><p>These are few parameters which can be considered as the key performance indicators for the new blockchain network. Although we have other params which determine the true in detailed behavior of the network, these were the basic indicators to be considered.</p><h4><strong>USE CASE</strong></h4><p><strong>Joisto</strong> - The Company handles Document and Data Storage Security Regulations of GDPR and ensures trust using the Hyperledger Fabric to build a system of immutable document record system.</p><p><a href="https://joisto.com/proof-of-orginality/">Proof of Orginality - JOISTO</a></p><h3><strong>FORBES BLOCKCHAIN LIST 2022</strong></h3><p>Allianz<br>Anthem<br>A.P. Moller — Maersk<br>BHP Australia<br>Boeing<br>Depository Trust and Clearing Corporation<br>Fujitsu<br>Nornickel Moscow<br>Oracle<br>Renault<br>Tech Mahindra<br>Tencent<br>Walmart</p><p>13 out of <strong>50</strong> use Hyperledger fabric along with other technology in their business solution. we can see that most of these often has a supply chain, finance and globally spread departments or branches which require a distributed ledger to record the transactions in a transparent, robust, secure and immutable way to maintain the trust across the industry.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec08080a7b3e" width="1" height="1" alt=""><hr><p><a href="https://coinsbench.com/hyperledger-fabric-the-modular-blockchain-framework-for-enterprise-ec08080a7b3e">Hyperledger Fabric — The Modular Blockchain Framework for Enterprise</a> was originally published in <a href="https://coinsbench.com/">CoinsBench</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Higher Dimensional Analysis — Ethereum Blockchain Layer-1]]></title>
            <link>https://medium.com/coinmonks/higher-dimensional-analysis-ethereum-blockchain-layer-1-4a5b0d9fe28a?source=rss-3df9965a2808------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a5b0d9fe28a</guid>
            <category><![CDATA[visualization]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[analytics]]></category>
            <dc:creator><![CDATA[Saketh Teki]]></dc:creator>
            <pubDate>Thu, 16 Jun 2022 20:05:46 GMT</pubDate>
            <atom:updated>2022-06-20T06:55:24.435Z</atom:updated>
            <content:encoded><![CDATA[<h3>Higher Dimensional Analysis — Ethereum Blockchain Layer-1</h3><h4><em>Multidimensional visualization of the mainnet’s block data</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cN4oGFNUJMtFogROPMTnag.jpeg" /><figcaption>Iconic scene from the movie Interstellar — 5D moment</figcaption></figure><p>People have come a long way from cave paintings, statistical hand drawn tablets and maps to modern day interactive data visualization. The advancements were gradual and became exponential in the last few decades.<br>The earlier purpose was to communicate or to make something complex visually understandable in a way which makes more sense than random numbers and text and it still serves the purpose. Now-a-days we use the advanced infographics in Medicine, Automobile, Space and with the latest Metaverse it goes beyond crazy. But, the core remains to be to understand something in a perspective.</p><p>We have seen in the EIP-1559 analysis(link in the references), how the different characteristics or features of the mined block in 1 and 2 dimensional views determining how an individual parameters changes over time, the times it occurs(frequency) and its range and distribution, basically in the fundamental statistical ways.<br>Now we take it higher to see things in different possible perspectives. This is to see different ways to extracts insights rather than determining the info itself.</p><blockquote>Visualizing in 3D</blockquote><p><strong>Discrete or Categorical 3rd dimension:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MVbMtiEW_hmk93lgrVKqeA.png" /><figcaption>Fig1: Scatter Plot with 3rd dimension(categorical) varying with hue</figcaption></figure><p>The above plots show the relation between any two features differentiated by the third factor ( which is usually categorical with limited possible values). In this case I’ve used time(year) as the 3rd dimension and we could see the dispersion of data compared to 2021 and 2022, on the sampled data.</p><p>In these few subplots, we could clearly see the wide spread of data over the range in 2021 and concentrated data at specific narrowed point in 2022. whereas the remaining seems to be overlapped with the common data points.</p><p><strong><em>Continuous 3rd dimension:</em></strong></p><p>The classic 3 point projections (x, y, z) along length, breadth and depth would give us the view of all three features w.r.t each other and chances of determining any cluster groups is likely to increase.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_WYC26YSCCMS9Qi9pQCMKQ.png" /><figcaption>Fig2: 3D projected Scatter Plot (20x20)</figcaption></figure><p>This is a 3d projected scatter plot with Gaslimit, Gasfee and transaction count of blocks plotted for the entire sampled data. we can see the data clusters formed and the concentration of data around 3.00 of the Gas Limit. The view differs with using the same parameters in different co-ordinates, the perspective may change but the facts will be always the same for a set of data.</p><p>Below we can see multiple scatter plots with different possible combinations of features. In some cases we could sense the limitations we have in this 3d projections, that we couldn’t clearly estimate the z-axis values or the height w.r.t the base of the chart. A solution for it would be an interactive views.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CVu6dLSlipEt0VnqPRWl-g.png" /><figcaption>Fig3: 3D Scatter Plot Matrix</figcaption></figure><p>The alternate way would be to use the third parameter as the size of bubble. varying the size based on the continuous values, it would be automatically scale adjusted for the higher values but the extreme outliers would be a problem.<br>The same goes with the density graph, the points where we have higher gas fee or gas used would be in darker shade and limiting the base fee to be concentrated around a threshold would make it hard to determine the boundaries.</p><blockquote>Visualizing in 4D</blockquote><p>To introduce the next parameter into the view we need to first make sure about the nature of its dispersion and range, it depends on the type of data as well like continuous and categorical. Based on these we could additionally add this feature as in size of the bubbles in scatter plot of 3D plot, considering the values to be broadly diverse which could be easy to distinguished easily.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uC9nJ0prQyaUG-5uauzqXQ.png" /><figcaption>Fig4: 3D scatter plot with 4rth dimension as size</figcaption></figure><p>Its a 3dimensional scatter plot of GasFee (in gwei), gas used and the gas limit (in reverse sorted order) as an x,y,z cartesian graph with the size of block (in KB) as the 4rth dimension varying as the size of the bubbles plotted. Here the sizes of mined blocks are discrete and has a minimum size even with zero transactions making it a perfect variable to use it in this way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zjKE0W-Z2CrDVHZLa4msGA.png" /><figcaption>Fig5: 2-dimensional Scatter Plot with size and hue as additional dimensions</figcaption></figure><p>In case of having limited(0–9 mostly) possible values for a feature, it would be easily included as a form of Hue/color variable while the continuous and more numerical value to be the size of the bubble or the marker we use in plotting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A5Kvbma5b_8TsmPFA0Z2kw.png" /><figcaption>Fig6: visible clusters in 4D</figcaption></figure><p>The above plots are 2dimensional scatter plot with Gasused versus the BurntFee(ETH) and the Gas Limit respectively, with the Blocksize(KB) being the 3rd dimension varying with size of bubble as per the data values. The fourth dimension would be the categorically split of transactions counts greater than the average and the remaining, varying with Hue/color. <br>The clusters of data can be visualized here which can be still be further optimized for better groups with specific boundaries.</p><blockquote>Visualizing in 5D</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qSFWfRPc5Z80uPT2_ncyKw.png" /><figcaption>Fig7: 5D scatter plot</figcaption></figure><p>The Blocksize(KB) would be the 4rth dimension as you’ve seen previously and the 5th would be the conditional value of GasUsed w.r.t the mean. All the blue colored bubbles are having the GasUsed above the average value, from the entire sampled dataset from which its calculated. we could go even higher for 6D but it takes quite a lot of time to render the plot and higher computing power is needed to plot all the 400K+ rows of block data with multiple features.</p><p>Although we could see some clusters forming but the info is quite generic and expected. It all comes down to using the parameters in the plot wisely which should be determined based on the data’s nature, type and format which directly affects the visualization and thus the visual insight you extract from it. This is just the tip of the iceberg and I&#39;ve just used sampled data to visualize the data and see any potential patterns for few parameters that were extracted already.</p><p>The enterprise use case would be to use the insights from the data to focus on the users/transactions from the DeFi exchanges/wallets/games/smart contracts to determine classes for marketing, optimizing solutions, fundraising initiatives, AMM pool predictions etc.</p><p>As we can see in the market with all the new solutions coming up for Ethereum especially for scaling — optimistic Rollups, sidechains, zk-rollups, sharding tech, channels etc. which drastically affect the transactions and security for Ethereum though those are widely in use today. This type of analytics would be useful in determining the performance or efficiency of these solutions and determining the benchmarks or may be a framework to compare various traits to select the best possible tech based on business use case.</p><h4>Reference:</h4><p><a href="https://medium.com/@vteki/eip-1559-gas-fee-market-change-analysis-eda-ethereum-blockchain-66c498dc9f26">EIP-1559 Gas fee market change Analysis(EDA): Ethereum Blockchain</a></p><blockquote><em>Join Coinmonks</em><a href="https://t.me/coincodecap"><em> Telegram Channel</em></a><em> and</em><a href="https://www.youtube.com/c/coinmonks/videos"><em> Youtube Channel</em></a><em> learn about crypto trading and investing</em></blockquote><h3>Also, Read</h3><ul><li><a href="https://coincodecap.com/bookmap-review-2021-best-trading-software">Bookmap Review</a> |<a href="https://coincodecap.com/crypto-exchange-usa"> 5 Best Crypto Exchanges in the USA</a></li><li>The Best Crypto<a href="https://medium.com/coinmonks/hardware-wallets-dfa1211730c6"> Hardware wallet</a> |<a href="https://medium.com/coinmonks/bitbns-review-38256a07e161"> Bitbns Review</a></li><li><a href="https://coincodecap.com/crypto-exchange-in-singapore">10 Best Crypto Exchange in Singapore</a> |<a href="https://coincodecap.com/buy-axs-token"> Buy AXS</a></li><li><a href="https://coincodecap.com/red-dog-casino-review">Red Dog Casino Review</a> |<a href="https://coincodecap.com/swyftx-review"> Swyftx Review</a> |<a href="https://coincodecap.com/coingate-review"> CoinGate Review</a></li><li><a href="https://coincodecap.com/best-crypto-to-invest-in-india-in-2021">Best Crypto to Invest in India</a> |<a href="https://coincodecap.com/wazirx-p2p"> WazirX P2P</a> |<a href="https://coincodecap.com/hi-dollar-review"> Hi Dollar Review</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a5b0d9fe28a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/higher-dimensional-analysis-ethereum-blockchain-layer-1-4a5b0d9fe28a">Higher Dimensional Analysis — Ethereum Blockchain Layer-1</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[EIP-1559 Gas fee market change Analysis(EDA): Ethereum Blockchain]]></title>
            <link>https://medium.com/coinmonks/eip-1559-gas-fee-market-change-analysis-eda-ethereum-blockchain-66c498dc9f26?source=rss-3df9965a2808------2</link>
            <guid isPermaLink="false">https://medium.com/p/66c498dc9f26</guid>
            <category><![CDATA[analysis]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[ethereum-gas-fee]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Saketh Teki]]></dc:creator>
            <pubDate>Fri, 03 Jun 2022 23:21:29 GMT</pubDate>
            <atom:updated>2022-06-23T16:53:45.868Z</atom:updated>
            <content:encoded><![CDATA[<p><em>EIP 1559 was proposed back in April, 2019 and it was implemented along with the dependent EIPs on August, 2021 to change the network transaction pricing and the dynamic block size durability.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-incabA01NyPOXLf" /><figcaption>Photo by <a href="https://unsplash.com/@michael_f?utm_source=medium&amp;utm_medium=referral">Michael Förtsch</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The update proposal introduces new parameters like <strong><em>base_fee_per_gas</em></strong> and <strong><em>priority_fee_per_gas</em></strong>, which is estimated and set at the wallet level to incentivize miners and burn the rest of the base fee. Other common parameters include block size, gas limit, gas used, timestamp and block number.</p><p>The data was sampled from the first few blocks after the update on August, 2021 i.e. from London’s Hard fork upgrade block <a href="https://etherscan.io/block/12965000">12,965,000</a> and a few blocks in 2022, up to the present one <a href="https://etherscan.io/block/14822767">14,822,767</a> block: at the time of writing.</p><blockquote>The three main exploratory analysis performed on the blockchain node data:<br>1. The Individual Feature Statistics<br>2. Feature Correlations<br>3. Time series — comparing the trend</blockquote><blockquote>Feature statistics</blockquote><p>The frequency of occurrences shows that most of the feature values are concentrated around specific values or within the limits of block production calculations which are set at the Blockchain’s protocol level.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UGBSumbVGV0CAoyRC_SP-Q.png" /><figcaption>Histograms of all block parameters after data transformation</figcaption></figure><p>The majority of the blocks have valuated transaction counts mostly around 0–200 and the respective block size constituting 0–100KB with a gas fee of 0–50 Gwei. This explains the variation in the Gas Used (based on the type of transaction — smart contracts/P2P/DX/CX ) depends on transaction included at the time of the block being mined.</p><p>According to the polygon report of May 2022 (Crypto research), most of the transactions utilizing the Blocks Gas Limit tend to be the Decentralized Exchanges like Uniswap, NFT giant OpenSea and some stablecoin AMM liquidity pools with almost 30% per day.</p><p>The data also shows that there were blocks mined with zero transactions and zero gas. This is mentioned in the potential security concerns of EIP 1559 that miners could be mining empty blocks. Below graph shows the frequency of empty blocks mined over time and by 2022 these have been basically doubled.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c9EdY37wrQFI-kAg3VlZrA.png" /><figcaption>Histogram of Empty Blocks mined each day</figcaption></figure><p>The comparison of basic data assessment functions like IQR, Standard Deviation, Range and the Average of the data with and without the empty blocks is shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*RaYpRZTniphgLDYXmj5L4A.png" /><figcaption>Non-empty Blocks statistics</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/1*4PlAO9_sf9lfJOqix9f1hw.png" /><figcaption>Empty Blocks statistics</figcaption></figure><p>Although there were 2.1% of empty blocks mined from the sampled data collected from 2021 and 2022, its impact on the Gas Fee is considerable as the gas fee is calculated per the protocol designed depending on the parent block’s base fee per gas, gas used and the target which affects the next block to be mined. The standard deviation for non-empty blocks shows the dispersed set of gas fees. The block size implies the additional data included in mining is at most 1KB for empty blocks with no transactions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xe__Y5ibo-SqYiys9rtWjg.png" /><figcaption>Dispersion of Non-zero block’s Gas Usage, Limit, Fee and burnt.</figcaption></figure><p>The above dispersion infographics show the deviated outliers vary more than the sampled data’s (3rd Quartile range+ the 1.5IQR) range for both the Gas Limit and Gas Fee, yet still the gas used was within the expected range.</p><blockquote>Feature Correlations</blockquote><p>Lets see how well the features are aligned or related to each other. <br>Pearson correlation coefficient tells how how well two continuous parameters are related in a linear fashion, providing the sampled data has good defined intervals and not ordinal. On the other hand, the Spearman coefficient tells the monotonic nature of two variables. <br>Its always a best practice to compare both and derive conclusions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/623/1*KiK2fdRb9F87hXHVAbg9Mg.png" /><figcaption>Pearson Correlation coefficients — Linear</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*FmpD61SgA0HCY0t2oYr_oQ.png" /><figcaption>Spearman Correlation coefficients — Monotonic</figcaption></figure><p>As expected, the parameters with high coefficient with more positive relations are to be the gas terms(used, limit and burnt) with the transaction counts and the block size. These features are all interrelated at the core basic concepts of how blocks are made/mined and the calculations involved in designing the consensus of blockchain. we can ignore the date and block number as they are incremental by default and are constants.</p><p>The scatter plot matrix for the block data below shows the visual relatable nature of the parameters with each other. <br>These are sharply linear despite of quite large deviations or outliers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CQ4N2KBY0qVEzxIlo9lhgQ.png" /><figcaption>6x6 Scatter Plot Matrix</figcaption></figure><p>The Gas Limit is being concentrated over certain point, as per the designed protocols on blockchain the deviations explain the change in limit due to the previous parent block’s gas fee and how/what kind of transactions are being combined. The Gas used is also leaned to the bottom varying largely for the same set of block sizes, this could be due to the user defined max gas that can be spent in order to get prioritized, although those Gwei would be burnt away.</p><blockquote>Time Series — comparing the trend</blockquote><p>The Burnt fee which is calculated as base fee per gas converted into Gwei (1e9 wei where wei being the smallest denomination of ETH)which is nothing but Gas Fee(Gwei), multiplied by the Gas used to mine the block. <br>GasFee(Gwei) = [BaseFeePerGas/1e9]<br>BurntFee(ETH)=[GasFee(Gwei)*GasUsed]/1e9</p><p>This is the actual ETH burnt per block to balance the economic values and withstand inflation of Ethereum. This calculation is done in blocks POV, as the max gas fee set by user to prioritize the transaction and the minimum incentive to be awarded to miner is not as considered as burnt fee.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2N_OEGwOAYQAqjAdEmFHVQ.png" /><figcaption>Time series of GasFee(Gwei) and BurntFee(ETH) — 2021 sampled data</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oRaJb-w8XBa8rmqvq0wAGw.png" /><figcaption>Time series of Gas Used and Gas Limit (rolling window 50) — 2021 sampled data</figcaption></figure><p>For the above graphs of 2021, the spikes are synchronized with the Gas Fee, Burnt and Used which are set of things which form the calculation in the first place, so balancing would be an obviously expected. The after effects which impact the Gas Limit can be observed later with gradual elevated values around August 20–24, as previous parent block’s values are considered by the protocol to adjust the limit. These are the early times and things were adapting to the changes implemented.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jDH0APbk5GY7Rzj7A6qgvA.png" /><figcaption>Time series of GasFee(Gwei) and BurntFee(ETH) in Logarithmic scale — 2022 sampled data</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yp1gK7G0omo023hM0sSsjQ.png" /><figcaption>Time series of Gas Used and Gas Limit (rolling window 50) — 2022 sampled data</figcaption></figure><p>In 2022 sampled data, we can see the highly varying gas parameters. Had to use the Logarithmic scale to bring out the low level variations along with the extreme values. The variations were very dense but they were concentrated within the range, around the 16–20e6 for the Gas used.</p><p><em>All the data shown here represents the values aggregated for a mined block for some of the parameters analyzed. Each block consists of prioritized transactions packed, valuated and hashed. There are many external Factors like sidechains pushing the validations/checkpoints on to Ethereum, level-2 chains rolling up the next batch of Tx, the Centralized exchanges and the DeFi Applications etc. affecting the transactions and thus the overall block parameters would be varied.<br>This is purely exploratory analysis and not any deep assessment to be verified nor any recommendations are being suggested.</em></p><p><strong><em>References:</em></strong></p><ul><li><a href="https://eips.ethereum.org/EIPS/eip-1559">EIP-1559: Fee market change for ETH 1.0 chain</a></li><li><a href="https://web.archive.org/web/20210805124609/https://ethereum.org/en/">Home | ethereum.org</a></li></ul><p>Thank You</p><blockquote>Join Coinmonks<a href="https://t.me/coincodecap"> Telegram Channel</a> and<a href="https://www.youtube.com/c/coinmonks/videos"> Youtube Channel</a> learn about crypto trading and investing</blockquote><h3>Also, Read</h3><ul><li><a href="https://medium.com/coinmonks/wazirx-vs-coindcx-vs-bitbns-149f4f19a2f1">WazirX vs CoinDCX vs Bitbns</a> |<a href="https://medium.com/coinmonks/blockfi-vs-coinloan-vs-nexo-cb624635230d"> BlockFi vs CoinLoan vs Nexo</a></li><li><a href="https://medium.com/coinmonks/localbitcoins-review-6cc001c6ed56">LocalBitcoins Review</a> |<a href="https://coincodecap.com/cryptocurrency-savings-accounts"> Cryptocurrency Savings Accounts</a></li><li><a href="https://coincodecap.com/margin-trading">What is Margin Trading</a> |<a href="https://coincodecap.com/dca"> Dollar-Cost Averaging</a></li><li><a href="https://coincodecap.com/uphold-card-review">Uphold Card Review</a> |<a href="https://coincodecap.com/trust-wallet-vs-metamask"> Trust Wallet vs MetaMask</a></li><li><a href="https://coincodecap.com/exness-review">Exness Review</a> |<a href="https://coincodecap.com/bingbon-vs-bitget-vs-moonxbt"> MoonXBT Vs Bitget Vs Bingbon</a></li><li><a href="https://coincodecap.com/passive-income-crypto-lending">How to Start Earning Passive Income With Crypto Lending</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66c498dc9f26" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/eip-1559-gas-fee-market-change-analysis-eda-ethereum-blockchain-66c498dc9f26">EIP-1559 Gas fee market change Analysis(EDA): Ethereum Blockchain</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[Legacy & Enhanced Business Metrics]]></title>
            <link>https://medium.com/@vteki/legacy-enhanced-business-metrics-1431abc3f2fd?source=rss-3df9965a2808------2</link>
            <guid isPermaLink="false">https://medium.com/p/1431abc3f2fd</guid>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[business-analytics]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[business-metrics]]></category>
            <category><![CDATA[business-strategy]]></category>
            <dc:creator><![CDATA[Saketh Teki]]></dc:creator>
            <pubDate>Sun, 14 Nov 2021 16:47:44 GMT</pubDate>
            <atom:updated>2021-11-20T09:52:43.809Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>The Big Data and Machine Learning in various industries have made significant upgrades on how the company’s services or products and their performance or growth are being evaluated.</blockquote><p>Every company, the traditional brick-mortar kind of companies, the digital service/product based, the strategic consulting firms and the Hardware and Software, including the small and medium scaled have adopted the big data and they’ve started making data-driven decisions and updated their business models.</p><p>The goal for data-driven business is to distinguish the critical data which could be converted to a potential business metric from the mere raw data collected from multiple sources into the Data Lake and implementing ways to feed the data to machine learning models to perform necessary operations like predictions or classifications to take certain measures or profitable decisions in the business or to minimize the risk.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oocT2WpUTToF9hCN" /><figcaption>Photo by <a href="https://unsplash.com/@dawson2406?utm_source=medium&amp;utm_medium=referral">Stephen Dawson</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In general, the metrics for any business could be classified into:<br>1. <strong>Revenue Metrics</strong> — the Sales and Marketing related and are generally outward facing accounting.<br>2. <strong>Profitability Metrics</strong> — the Logistics and Operations related and are mostly efficiency metrics.<br>3. <strong>Risk Metrics</strong> — the creditors and risk managers related, which are closely tied to debt.</p><blockquote>Legacy or Traditional Business Metrics</blockquote><h4><strong>Revenue</strong></h4><p>These are the good old metrics which can be found using by every other company, mostly are of digital revenue indicators or the normal gross incomes.</p><p>The Gross revenue over a time period which is the income, the cash-flow- positive and negative relating to the Net-’N’ day calculations for the P&amp;L statements, booking revenue which are for the accounting and finance Dept.</p><p>In the digital era(Ad-word metrics) we might usually find the CPC(cost-per-click) and its actual, expected and the biding values, the Ad-ranks(google) which is the quality of Ad i.e. combination of Ad-relevance, Landing page-experience and its loading times(latency), the conversion rates per customer and the average, the user’s click stream including the duration, pathways, recent and behavioral patterns. The best tool would be Google Analytics Platform for digital marketing - tracks these for your website in real-time.</p><p>The product based metrics could be more of the promotional, rack prices and the famous Life Time value (LTV) which is calculated in various ways based on the context and the sector/industry, for customer its the discounted presented value of all future revenues from a new customer. The sales funnel which are the steps in converting individuals or companies with potential interest into a paying customers.</p><h4>Profitability</h4><p>The Financial asset returns are the most usual metrics for profitability and are calculated accordingly for the one-time and multiple investments over the time period.</p><p>The compound return which is the natural logarithmic value of the ratio of the prices at given two points in time which in-turn can be divided by ’N’ years for the annualized continuous metric.<br><em>Annualized Compound Rate of Return = [ln(p1/p0)]/N</em></p><p>The discrete returns which are the 1/Nth power of the ratio of the prices minus one. <br><em>Annualized Discrete rate of return = [(p1/p0)*(1/N)]-1</em></p><p>Geometric mean for multiple returns = {[(1+r1)(1+r2)…(1+rn)]*(1/N)}-1, here the return could be negative return at certain time. The internal rate of return (IRR) which is the equalization of cash inflow to the outflow.</p><p>The capital expenditure, the cost of good sold (P&amp;L item) which is the cost that is allocated and what the actual cost for manufacturing each unit of production, the depreciation, variable costs, efficiency of product, fixed costs and the general expenses, marginal profits( for each production unit) and net earnings.</p><p><em>Return on equity</em> for an investment with borrowed money having x% interest, excess returns over the benchmark(leveraged by chosen-stocks) and risk-free rate( leveraged by government bonds)</p><p>The product focused would be more of an Inventory management, the inventory turnover i.e. 365 day metric for each SKU, 0-level inventory, market differentiation(difference in competitor price) and the wastage and spoilage.</p><h4>Risk</h4><p>Its measured in the chance of any major negative event like a product recall( in case of defect or any legal risk), default on a debt, insolvency etc.</p><p>In Finance, its the volatility of returns on an investment. The scattered range usually or the inconsistency is the measure of volatility — statistically its the standard deviation of the discrete return rates over time denoted usually by sigma, it is directly proportional to risk.</p><p>Sharpe ratio for an investment is an revenue to the risk ratio calculated as the portfolio returns minus the risk-free returns divided by the volatility of the returns(sigma).This is actually a performance metric for a money managers over time with variable volatility.</p><p>The accounts receivable and the burn rate (the actual or predicted negative cash-flow over time) and runaway for a company, which is calculated as the ratio of net cash to the burn rate monthly to know the time for which the company could survive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bjcljNtX88QYZN5P" /><figcaption>Photo by <a href="https://unsplash.com/@austindistel?utm_source=medium&amp;utm_medium=referral">Austin Distel</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><blockquote>Enhanced or Custom Business Metrics — KPIs</blockquote><p>Identifying the key metrics or the KPIs is the crucial part of being ahead in the competition in the market. According to the MIT’s research given in the below articles suggest that more of the metrics are customer focused or customer-centric, as the age-old mantra says — “<em>Customer is King”. </em>It in return yielded positive results in awareness of the company market wide and profits.<br>These are called as CPIs, while there is differentiation between CPIs and KPIs but the underlined intentions are the same.</p><p><a href="https://mitsloan.mit.edu/ideas-made-to-matter/digital-business-needs-new-kpis-heres-why-they-matter">Digital business needs new KPIs. Here&#39;s why they matter | MIT Sloan</a></p><p>The Top modern business metrics which are customer centric would be: <br>1. Brand or Net-promoter score.<br>2. Retweets — increasing the audience aka potential customer.<br>3. Customer Loyalty in-terms of retention and consistency.<br><em>**Assuming the ways in evaluating these metrics and gathering the data is achieved with efficiency rather than a poll.</em></p><p><a href="https://hbr.org/2020/04/the-most-important-metrics-youre-not-tracking-yet">The Most Important Metrics You&#39;re Not Tracking (Yet)</a></p><p>To conclude, the metrics to be measured vary based on the relevance to the industry and the company. The external factors like data gathering, storing capabilities and the analytical insights extraction capabilities are also to be considered. Although, we have various Tools and Methodologies in the market which are standardized across the industry, the matter of what is really required to the company for solving the problems and asking the right questions, its objectives and motive determines the metrics to be monitored or new-metrics to be considered from the enterprise data.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1431abc3f2fd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>