Skip to content

kjeom/ExampleMiniDapp

Repository files navigation

Decentralized Statistics

This is a platform that enables the transparent statistics and surveys, allowing the contributors to get the rewards for participating in surveys. It's obviously contrast to a centralized statistics office.

This platform is inspired by a talk from Ethcon Korea 2024, The best way: correct number of the statistics

Prerequisite

node >= v.22

Initialization

$> npm install

Contract Deploy

start local hardhat node

$> npx hardhat node

contract deploy to local network

$> cd contract
$> npx hardhat compile
$> npx hardhat deploy --network localhost

create .env file in root directory

SURVEY_FACTORY_V1_CONTRACT_ADDRESS=[factory address]
NEXT_PUBLIC_SURVEY_FACTORY_V1_CONTRACT_ADDRESS=[factory address]
NODE_URL=http://localhost:8545

Start application

$> npm run dev # in the root directory

About

Fully on-chain survey platform on LINE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published