Skip to content

tonkeeper/airdrop-reference-dapp

Repository files navigation

Airdrop Reference DApp

Demo

Description

Airdrop Reference DApp is a decentralized application (DApp) that demonstrates the token airdrop process using the service described in the TonConsole Airdrop Documentation.

This application allows users to connect their wallets, check the airdrop status, and claim tokens through interaction with the TON blockchain.

Demo

You can test the application in demo mode by visiting the demo link.

Getting Started

Prerequisites

Before you begin, ensure you have the following tools installed on your computer:

Installation

  1. Clone the repository:

    git clone https://github.com/tonkeeper/airdrop-reference-dapp.git
    cd airdrop-reference-dapp
  2. Install dependencies:

    npm install

Configuration

Create a .env file in the root of the project and add the following variables:

VITE_TONAPI_ENDPOINT=https://tonapi.io
VITE_AIRDROP_UUID=your-claim-uuid
  • VITE_TONAPI_ENDPOINT: Base URL for TonAPI. Defaults to https://tonapi.io if not specified.
  • VITE_AIRDROP_UUID: Unique identifier for the airdrop. Obtain this from your airdrop service.

Running the Application

To start the application in development mode, run:

npm run dev

Open http://localhost:5173 in your browser to view the application.

Building for Production

To build the application for production, execute:

npm run build

The build output will be located in the dist directory.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Additional Links


This project is a reference implementation for the service described in the TonConsole Airdrop Documentation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published