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.
- Install the Aptos CLI by following the installation instructions.
- Follow the Smart Contract tutorial to set up your smart contract.
- Set up the React app by following the React Tutorial.
- Utilize the Typescript SDK for integration.
- Clone this repository:
git clone https://github.com/HarshalBhangale/aptos_challenge0.git
cd aptos_challenge0
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.