MCPcopy Index your code
hub / github.com/ProjectTwelve/airdrop-interface

github.com/ProjectTwelve/airdrop-interface @v0.8.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.8.0 ↗ · + Follow
410 symbols 1,165 edges 136 files 3 documented · 1% updated 14mo agov0.8.0 · 2022-09-09★ 511 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README
<img alt="p12_logo" src="https://github.com/ProjectTwelve/airdrop-interface/raw/v0.8.0/docs/p12_logo.png" />

P12 Airdrop

Project Twelve is a GameFi ecosystem with sustainable economies. We believe that "gaming" is an integral part of the Metaverse, where gamers and developers are the two most important components.

Steam, as a premier gaming platform, is the largest digital distribution platform for PC gaming; players spent almost 38 billion hours on Steam in 2021.

readme_01

We believe it will be a good means to identify game lovers with the help of Steam data, and we want to give tributes to all Steam gamers and developers!

For Developers

Airdrop Tributes

  1. Developer-specific NFT.
  2. P12 tokens.

Mechanism

Through the Steam API, we get a list of all Steam games with their app ID, names, reviews, etc., and we use the signature method to determine the ownership between developers and games.

Here are the rules and the results:

Steam game developers who:

  1. Own at least 1 game on Steam (except DLC).
  2. Complete the authentication steps on P12 Airdrop website.

will be rewarded with tributes according to the following rules:

  1. Each verified game will get 1 developer-specific NFT.
  2. The NFT has 4 categories: legendary, epic, rare, and uncommon.
  3. The amount of tokens that developers can claim is based on their games' reviews and publish date.

For Gamers

Airdrop Tributes

  1. Gamer-specific NFT.
  2. P12 tokens.

Mechanism

Sign in with a Steam account and set "My profile" to "Public," we get the account data including the avatar, a games array, total playtime, etc., and the gaming experience will determine the rewards.

Here are the rules and the results:

Steam gamers who:

  1. Own a Steam account.
  2. Complete the authentication steps on P12 Airdrop website.

will be rewarded with tributes according to the following rules:

  1. Each Steam account will get 1 Gamer specific NFT.
  2. The NFT has 5 categories: legendary, epic, rare, uncommon and common.
  3. The amount of tokens that gamers can claim is based on various relevant metrics.

Result Files

We export the results to a public Google folder here.

Game data is available and complete, while binding relationships between the game and address will be continuously updated.

Extension points exported contracts — how you extend this code

Window (Interface)
(no doc)
types.d.ts

Core symbols most depended-on inside this repo

openLink
called by 19
utils/index.tsx
getLocalStorage
called by 11
utils/storage.ts
getCountMemo
called by 9
utils/index.tsx
formatMinutes
called by 8
utils/index.tsx
getSteamGameImage
called by 8
utils/index.tsx
setLocalStorage
called by 7
utils/storage.ts
useIsMounted
called by 7
hooks/useIsMounted.ts
shortenAddress
called by 6
utils/index.tsx

Shape

Function 400
Enum 9
Interface 1

Languages

TypeScript100%

Modules by API surface

components/poster/html2canvas.min.js196 symbols
lib/api.ts26 symbols
utils/index.tsx11 symbols
hooks/ranking.ts8 symbols
hooks/collab.ts7 symbols
utils/storage.ts6 symbols
constants/index.ts6 symbols
hooks/gamer.tsx5 symbols
components/ranking/GamerTokenRankingItem.tsx4 symbols
components/ranking/GamerTimeRankingItem.tsx4 symbols
pages/ranking/[tab].tsx3 symbols
pages/gamer/index.tsx3 symbols

For agents

$ claude mcp add airdrop-interface \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact