Skip to content

Introduction: What You Will Build

This guide targets the Tiramisu testnet. Check Networks for current testnets and faucets.

This guide shows you how to build a full-stack, real-time cryptocurrency dashboard. The dashboard uses Arkiv as a universal data layer.

This tutorial shows you a common use case for Arkiv. It stores time-sensitive data at intervals. It then reads that data to power a live front-end application.

This application has two main parts:

  1. A Node.js backend service. This script runs continuously. Every 60 seconds, it fetches the latest market data for Bitcoin (BTC), Ethereum (ETH), and Golem (GLM) from the CoinGecko API. It then uses the Arkiv SDK to store this data on the Tiramisu testnet.
  2. A frontend dashboard. This HTML, CSS, and JavaScript application queries Arkiv for the data that the backend publishes. It shows this data in a dashboard with the Chart.js library.

By the end of this tutorial, your dashboard shows:

  • The latest prices of BTC, ETH, and GLM.
  • Price changes over time, updated every minute.
  • An overview of the market capitalization for each cryptocurrency.

This guide gives you a hands-on learning experience. Each step explains the code and shows you how the pieces connect. Start with the setup step.