Skip to content
This repository has been archived by the owner on Jun 12, 2021. It is now read-only.

Niraj-Kamdar/Dmon

Repository files navigation

Dmon REST API

This is a REST API service for Dmon game. You can try it live on https://dmon-api.herokuapp.com/

Usage

You can see documentation of API in both swagger and redoc style.

How to use it?

  • Create a new user account by POST request to /users endpoint.
  • Create new token by POST request to /token endpoint.
  • You can create new user by POST request to /users endpoint.
  • You can get info about current user by GET request to /users/me endpoint.
  • You can view all tokens created on blockchain by GET request to /item/{item_id} endpoint.
  • You can view all monsters owned by current user by GET request to /monsters endpoint.

Smart Contract

  • GameItems - It is an ERC1155 token contract with Biconomy integration.

Tech Stack

  • Fast API - FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+
  • Unity - Unity is a cross-platform game engine developed by Unity Technologies
  • Matic - Matic Network is is providing high scalability to cryptocurrencies