Table of Contents
Fetching ...

W2E (Workout to Earn): A Low Cost DApp based on ERC-20 and ERC-721 standards

Do Hai Son, Nguyen Danh Hao, Tran Thi Thuy Quynh, Le Quang Minh

TL;DR

This paper introduces W2E, a mobile DApp that incentivizes exercise by awarding ERC-20 tokens (DMD) and ERC-721 NFTs (Pets). It evaluates deployment across six Ethereum-based networks to compare gas costs and transaction latency, highlighting significant reductions on Layer-2 and private networks. The study provides actionable guidance on selecting networks to balance cost and performance for ERC-20/ERC-721 DApps, and offers a public smart contract repository to enable replication and adaptation. The findings have practical implications for developers and businesses aiming to deploy low-cost, user-friendly blockchain applications. Future work will explore scalability with larger numbers of blockchain nodes.

Abstract

Decentralized applications (DApps) have gained prominence with the advent of blockchain technology, particularly Ethereum, providing trust, transparency, and traceability. However, challenges such as rising transaction costs and block confirmation delays hinder their widespread adoption. In this paper, we present our DApp named W2E - Workout to Earn, a mobile DApp incentivizing exercise through tokens and NFT awards. This application leverages the well-known ERC-20 and ERC-721 token standards of Ethereum. Additionally, we deploy W2E into various Ethereum-based networks, including Ethereum testnets, Layer 2 networks, and private networks, to survey gas efficiency and execution time. Our findings highlight the importance of network selection for DApp deployment, offering insights for developers and businesses seeking efficient blockchain solutions. This is because our experimental results are not only specific for W2E but also for other ERC-20 and ERC-721-based DApps.

W2E (Workout to Earn): A Low Cost DApp based on ERC-20 and ERC-721 standards

TL;DR

This paper introduces W2E, a mobile DApp that incentivizes exercise by awarding ERC-20 tokens (DMD) and ERC-721 NFTs (Pets). It evaluates deployment across six Ethereum-based networks to compare gas costs and transaction latency, highlighting significant reductions on Layer-2 and private networks. The study provides actionable guidance on selecting networks to balance cost and performance for ERC-20/ERC-721 DApps, and offers a public smart contract repository to enable replication and adaptation. The findings have practical implications for developers and businesses aiming to deploy low-cost, user-friendly blockchain applications. Future work will explore scalability with larger numbers of blockchain nodes.

Abstract

Decentralized applications (DApps) have gained prominence with the advent of blockchain technology, particularly Ethereum, providing trust, transparency, and traceability. However, challenges such as rising transaction costs and block confirmation delays hinder their widespread adoption. In this paper, we present our DApp named W2E - Workout to Earn, a mobile DApp incentivizing exercise through tokens and NFT awards. This application leverages the well-known ERC-20 and ERC-721 token standards of Ethereum. Additionally, we deploy W2E into various Ethereum-based networks, including Ethereum testnets, Layer 2 networks, and private networks, to survey gas efficiency and execution time. Our findings highlight the importance of network selection for DApp deployment, offering insights for developers and businesses seeking efficient blockchain solutions. This is because our experimental results are not only specific for W2E but also for other ERC-20 and ERC-721-based DApps.
Paper Structure (4 sections, 4 figures, 5 tables)

This paper contains 4 sections, 4 figures, 5 tables.

Figures (4)

  • Figure 1: Architecture of W2E application.
  • Figure 2: W2E: Users' flowchart.
  • Figure 3: Interfaces of main functions on W2E application.
  • Figure 4: A small-scale private Ethereum 1.0 and 2.0 network configuration.