Giter Site home page Giter Site logo

danielw1534 / nftgulag Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 4.88 MB

A NextJS dapp to wager on your favorite NFTs and win rewards

Home Page: https://nftgulag.io

License: Apache License 2.0

TypeScript 86.24% Solidity 13.22% JavaScript 0.38% CSS 0.16%
dapp react solidity web3

nftgulag's Introduction

NFT Gulag Dapp

This dapp utilizes the following frameworks: NextJS, React, Tailwind, and Typechain. To check out the live site, please visit nftgulag.io.

alt text

And here is what the Live Gulags page looks like:

alt text

If you'd like to run this locally, please follow the guided steps below.

Getting Started (Backend)

To begin, first install all dependencies by running the following:

npm i
# or
yarn

Then, store your ABI from your solidity contract in constant called abi inside the <CONTRACT_NAME>__factory.ts file under the contracts/types/factory folder. To see an example of how this is done, please check out the file contracts/types/factory/ERC20__factory.ts for an example of how this is done for an ERC20 contract. Run the following after finalizing your factory file:

npm run compile-contract-types
# or 
yarn compile-contract-types

This will create typescript types for your contract itself (which you can import using useContract ) as well as types for all variables/functions inside of your contract.

Getting Started (Frontend)

To see your frontend NEXTJS web app, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the home page by modifying pages/index.tsx. The page auto-updates as you edit the file.

nftgulag's People

Contributors

danielw1534 avatar

Stargazers

 avatar

Watchers

 avatar

nftgulag's Issues

Remove Unused Css

SEO score lower than normal, partially due to excessive unused css

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.