This script treats DLTs like Radix and Ethereum like engines and attempts to measure their efficiency in creating utility.
THE MEME STUDIO | Web3 Marketing Agency
Crypto Content Wizards. Degens, you found your Web3 Marketing Agency! Experienced in helping DAOs, DeFi, P2E, NFT, and Metaverse projects with 3D Animations, Memes and more! The Meme Studio is your Web3 Agency.
www.thememestudio.com
Introduction
Mechanical efficiency is measured by dividing Work or Power Output by Power Input:
The following method substitutes Github repos for Work and Google Trends volume as a measure of Power Input. The assumption is that amount of ecosystem activity will be roughly reflected in the search volume.
In this version, the number of Github repos for Radix and Ethereum is determined using the comparable search terms “Scrypto Radix” and “Solidity Ethereum”. The search volumes for “Scrypto Radix” are not large enough to register so instead we have used “XRD Radix” and “ETH Ethereum” to maintain equivalence and eliminate searches for other uses of the term ‘Radix’.
Repl
Run the embedded script here or scroll down for the method.
Results
DLT | Repos | Efficiency (η) (23/07/14) | Vs Ethereum | Search terms (Github) | Search terms (Google Trends) |
Ethereum | 12461 | 8.45 | 1 | “Solidity Ethereum” | “ETH Ethereum” |
Solana | 1076 | 0.79 | 11x | “Rust Solana” | “SOL Solana” |
Avalanche | 88 | 0.09 | 91x | “Solidity Avalanche” | “AVAX Avalanche” |
Cardano | 176 | 0.09 | 97x | “Plutus Cardano” | “ADA Cardano” |
Radix | 21 | 0.07 | 123x | “Scrypto Radix” | “XRD Radix” |
Method & Python Script
- Install VS Code: https://code.visualstudio.com or another IDE.
- In VS Code open a new terminal window by navigating to Terminal > New Terminal.
- Install Homebrew by pasting the following code into the terminal and pressing Enter:
- Install Python in the same way:
- Next, install the modules that the script needs (dependencies):
- Now, create a project folder and navigate to it in VS Code via File > Open Folder.
- Create a new Python file in VS Code via File > New File. Name it something like DLTefficiency.py
- Copy and paste the following script into DLTefficiency.py and save it.
- Run the script from the terminal with:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"brew install pythonpip3 install requests pytrendspython3 DLTefficiency.py