Giter Site home page Giter Site logo

ottergang's Introduction

OtterGang

About: OtterGang is an NFT marketplace where users play an on-chain game of rock-paper-scissors "against an Otter" to earn OtterToken, after which they can use the tokens to purchase NFTs of otters from the marketplace. An otter NFT must be sold initially for OtterTokens, after which the owner can resell it for Polygon's native token, Matic, to potentially turn a profit. The smart contracts are deployed on the Polygon Mainnet blockchain. The rock-paper-scissors game executes a function on the smart contract that takes your decision, generates a pseudo-random number representing the opposing otter's decision, and returns boolean if you won or lost. Why otters? Well, why not?

For OtterGang, I leaned on my previous experience building FreeToken and learned the following: NextJS page routing, uploading data on IPFS, having multiple smart contracts interact with one another, and ERC721s (NFT token standard).

Technologies Used

Frontend

  • NextJS
  • TailwindCSS
  • Axios
  • Ethers.js

Backend

  • Solidity
  • Hardhat
  • Remix (remix.ethereum.org)
  • IPFS (decentralized data storage for NFT metadata and image)
  • Infura
  • Polygon

Images

Home

Play

About

### As of September 2022, the Ethereum network underwent an upgrade to ETH 2.0, which wiped my smart contracts off of the test networks. So, the Marketplace and My Items tabs do not work anymore, and I don't have pictures of those pages before the upgrade.

ottergang's People

Contributors

jjzfive avatar

Watchers

James Cloos avatar  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.