All Projects → thetatoken → theta-infrastructure-ledger-explorer

thetatoken / theta-infrastructure-ledger-explorer

Licence: MIT license
Explorer for the Theta Ledger

Programming Languages

javascript
184084 projects - #8 most used programming language
SCSS
7915 projects

Projects that are alternatives of or similar to theta-infrastructure-ledger-explorer

LibraBrowser
LibraBrowser
Stars: ✭ 37 (-35.09%)
Mutual labels:  blockchain-technology, blockchain-explorer
Ultimateicocalendar
The ICO calendar to end all ICO calendars
Stars: ✭ 183 (+221.05%)
Mutual labels:  blockchain-technology
Blockchain
Code your own blockchain in less than 120 lines of Java!
Stars: ✭ 83 (+45.61%)
Mutual labels:  blockchain-technology
Gulden Official
Blockchain as intended
Stars: ✭ 126 (+121.05%)
Mutual labels:  blockchain-technology
Hypepool
🚀 ⚡️ ✨ next-gen mining pool server software
Stars: ✭ 89 (+56.14%)
Mutual labels:  blockchain-technology
Cryptokylin Testnet
EOS.io Kylin Testnet by cryptokylin.io
Stars: ✭ 140 (+145.61%)
Mutual labels:  blockchain-technology
Chainode
Fast, Highly Scalable, and Lightweight Private Blockchain Network based on node.js
Stars: ✭ 55 (-3.51%)
Mutual labels:  blockchain-technology
Blockchain Python
A blockchain implementation in Python
Stars: ✭ 233 (+308.77%)
Mutual labels:  blockchain-technology
Theta Protocol Ledger
Reference implementation of the Theta Blockchain Ledger Protocol
Stars: ✭ 159 (+178.95%)
Mutual labels:  blockchain-technology
My First Bitcoin Miner
For the curious minds who want to understand how Bitcoin Blockchain works!
Stars: ✭ 110 (+92.98%)
Mutual labels:  blockchain-technology
Coco
The fastest crypto online
Stars: ✭ 103 (+80.7%)
Mutual labels:  blockchain-technology
Dotnet Stellar Sdk
Stellar API SDK for .NET Core 2.x and .NET Standard 2.0
Stars: ✭ 97 (+70.18%)
Mutual labels:  blockchain-technology
Finnlp Progress
NLP progress in Fintech. A repository to track the progress in Natural Language Processing (NLP) related to the domain of Finance, including the datasets, papers, and current state-of-the-art results for the most popular tasks.
Stars: ✭ 148 (+159.65%)
Mutual labels:  blockchain-technology
Blockchaintechnology
Blockchain Frontier Technology Tracking
Stars: ✭ 88 (+54.39%)
Mutual labels:  blockchain-technology
Movemint
Stars: ✭ 203 (+256.14%)
Mutual labels:  blockchain-technology
Aiopen
AIOpen是一个按人工智能三要素(数据、算法、算力)进行AI开源项目分类的汇集项目,项目致力于跟踪目前人工智能(AI)的深度学习(DL)开源项目,并尽可能地罗列目前的开源项目,同时加入了一些曾经研究过的代码。通过这些开源项目,使初次接触AI的人们对人工智能(深度学习)有更清晰和更全面的了解。
Stars: ✭ 62 (+8.77%)
Mutual labels:  blockchain-technology
Diadata
DIAdata.org platform
Stars: ✭ 103 (+80.7%)
Mutual labels:  blockchain-technology
Ekt
EKT basic blockchain, the main purpose are token transfers and token related smart contracts.
Stars: ✭ 139 (+143.86%)
Mutual labels:  blockchain-technology
linX
Linx - A mineable blockchain based digital currency.
Stars: ✭ 21 (-63.16%)
Mutual labels:  blockchain-technology
Site
Customer's site of the system
Stars: ✭ 214 (+275.44%)
Mutual labels:  blockchain-technology

Theta Ledger Explorer

The Theta Ledger Explorer project contains a frontend web application for the Theta explorer, a backend api application to provide data to the frontend, and a blockchain data crawler to download data from the blockchain.

Please click here to see the Theta Ledger Explorer in action.

Blockchain Data Crawler

Setup

The job of blockchain data crawler is to download and convert the blockchain data to a format more friendly for blockchain data exploration. In our current implementation, it uses a NoSQL database MongoDB to store the converted data. Thus we need to install MongoDB first. Below is the instruction to install MongoDB on Ubuntu Linux. For more information on installing MongoDB on different systems, please check here.

wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -

echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list

sudo apt-get update

sudo apt-get install -y mongodb-org

To start MongoDB, use following command.

sudo systemctl start mongod

After starting MongoDB, we can setup the config for crawler with the following commands.

cd backend/crawler
npm install
mv config.cfg.template config.cfg

Now the config.cfg file is created, change blockchain.startHeight in config file to the snapshot height on the theta node. After setting the config file and start height, we can run crawler using this command.

node run.js

Now the crawler starts to read the data from blockchain, perform necessary transformation, and stores the converted data in the database. Next we can launch the backend API microservice, and the frontend application microservice following the procedure below.

Backend API Application

Setup

cd backend/explorer-api
npm install
mv config.cfg.template config.cfg
node run

Now the explorer API application is running at https://localhost:8443

Frontend Web Application

Setup

cd frontend
npm install
mv src/config.js.template src/config.js

Development

npm run dev
gulp (in a new console window)

Gulp will tell you where to view the webpage for Live Reloading and automatically open a browser pointing there. (It proxies the original server in order to enable the live reloading) It should be https://localhost:3000. Any changes you make to scss or js files should be automatically refreshed in the browser.

To skip Live reloading:

gulp nosync

Then browse to the node server directly at: https://localhost:4000

Other Gulp tasks:

gulp build-js
gulp build-sass
gulp clean
gulp watch

License

The Theta Ledger Explorer reference implementation is licensed under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].