Skip to content

Muhindo-Galien/Karts-Battle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Near Karts

Battle Kart dynamic NFTs on NEAR blockchain. nEAR kARTS
kARTS
Battle Areba

Demo App:

https://near-karts.web.app/

Concept

Equip and pimp a 3D NEAR Kart NFT and mint it on the NEAR blockchain.

NFT is upgradable as the Kart rises through the levels.

Battles

  • Each battle won increases your NEAR Kart level by 1
  • Win items as your level increases
  • Upgrade and save your NEAR Kart once every 5 levels
  • The name of your NEAR Kart cannot be changed so choose wisely!

NEAR Karts NFTs are NEP-171 NFTs on the NEAR blockchain.

non_fungible_token_core, non_fungible_token_approval and impl_non_fungible_token_enumeration are implemented for the NEAR Kart NFTs.

nft_mint is modified to allow minting only when with verified nft data is provided.

NEAR Kart NEP-171 Implementation

The Graph Integration

⚠ The graph indexer reaches a certain block and then stops indexing so the leaderboard in the application does not stay up to date.

The Graph is integrated into the application to provide daily and monthly leaderboards.

The NEAR Karts Subgraph also provides:

  • A historical record of the NFT for each kart as they are upgraded
  • Battle details that can be used to replay previous battles
  • Records of minting and upgrading events

Important Files

Kart NFT Contract on NEAR

Front end code
App / Wallet / Contract front end ReactJS
NEAR Karts front end ReactJS