跳至主要內容
本頁面使用機器翻譯自英語,可能包含錯誤或不清楚的語言。如需最準確的信息,請參閱英文原文。由於更新頻繁,部分內容可能與英文原文有出入。請加入我們在 Crowdin 上的努力,幫助我們改進本頁面的翻譯。 (Crowdin translation page, Contributing guide)

Introduction

The Survey Mini dApp is a privacy-focused decentralized application (dApp) that allows users to create and participate in surveys while maintaining anonymity and transparency. By leveraging cutting-edge tools like Semaphore for zero-knowledge proof integration, and LINE's developer ecosystem, this guide walks you through every step to build and deploy a survey mini dApp on the Kaia blockchain.

This comprehensive guide covers:

  • What the application does and its objectives.
  • The tools and prerequisites needed.
  • Setting up a smart contract development environment.
  • Frontend integration and deployment.

To get started quickly, you'll find the entire code for this tutorial on Github. This way, you can explore the application's inner workings as you follow along.

Prerequisite

To build this application, ensure you have the following:

  1. Technical Knowledge
  2. Accounts and Tools
  3. Dependencies Installed

Project Setup and Installation

To start the project setup and installation quickly, clone this project on Github using the following command.


# clone project
git clone https://github.com/kjeom/ExampleMiniDapp

Next, change the directory into the cloned folder and install the project locally using npm with the following command:


cd ExampleMiniDapp
npm install

Next, let’s understand the inner workings of the smart contract for our survey application. The next section explains how it works.

讓這個頁面變得更好