Giter VIP home page Giter VIP logo

achievement-system-contract-web-poc's Introduction

Achievement Contract: Achievement System for the FTM ecosystem

Fantom Opera

FTM Achievement is a project that aim to create a general purpose achievement system to increase the user’s engagement and long term longevity of of the interaction between the user and platform smart contract like Games, DeFi protocols and DAOs.

Contract code

Contract and tests can be found here: https://github.com/StErMi/achievement-system-contract

How to run the POC

  1. Clone the project
  2. Install dependecies yarn install
  3. Open Terminal 1 and run: yarn chain to start the hardhat chain
  4. Open Terminal 2 and run yarn start to start the React app
  5. Open Terminal 3 and run yarn deploy to deploy all contracts
  6. Open http://localhost:3000/ to interact with it

Contract to interact with:

  • Archievement.sol -- An ERC721 contract with all the general purpose archievement management system
  • utils/FTMGame.sol -- A crypto Game Smart contract that showcase how to leverage the Achievement system to increase user engagement and longevity
  • utils/Greeting.sol -- A smart contract that interact with the Achievement system and the FTMGame unlocking functionalities only if the user's owns a specific achievement awarded by the FTMGame

POC created thanks to scaffold-eth

achievement-system-contract-web-poc's People

Contributors

stermi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.