Aptos Challenge

Overview

This repository contains the code for the Aptos Challenge, a decentralized application (DApp) where users can interact with a smart contract by clicking a button. The user's actions are recorded on the blockchain, and a leaderboard showcases the top 10 users with the most clicks.

Demo

Watch the demo video

Live App

Explore the live app

Figma Designs

View Figma designs

Table of Contents

Getting Started

Environment Setup

  1. Install the Aptos CLI by following the installation instructions.

Smart Contract

  1. Follow the Smart Contract tutorial to set up your smart contract.

Frontend

  1. Set up the React app by following the React Tutorial.
  2. Utilize the Typescript SDK for integration.

Local Development

  1. Clone this repository:
git clone https://github.com/HarshalBhangale/aptos_challenge0.git
cd aptos_challenge0

Features

1 .Users can connect their wallets. 2. The page displays the total number of clicks from all users, fetched from the on-chain contract. 3. Users can click a button, prompting them to sign and submit a transaction that increments the on-chain counter. 4. A leaderboard showcases the top 10 users with the most clicks.