Git Product home page Git Product logo

rebasenfts's Introduction

Rebasing NFTs

Monorepo of the Rebasing NFT experiment

NFTs that — as you stake them — give you more NFTs. Read more about the details of the project here

You can check the smart contracts at packages/contracts

You can check the frontend at packages/frontend

Local development

Contracts

  1. Install Foundry
cd packages/contracts

foundry install # Install dependencies as git submodules
foundry build # Build smart contracts
foundry test # Run tests

Front-end

  1. Install Node
  2. Install Yarn
cd packages/frontend

yarn install # Install dependencies
yarn dev # Start development server

License

Link to code license

rebasenfts's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rebasenfts's Issues

[Staking Page]

  • IF WALLET NOT CONNECTED
    • Show 0s for every metric
  • IF WALLET CONNECTED BUT NO NFTS IN WALLET
    • show 0s for every metric EXCEPT Next Reward Yield
  • IF WALLET CONNECTED AND USER HAS NFTS IN WALLET
    • NO DIFFERENCE IN DISPLAY BETWEEN Stake RABBIT AND Unstake TABS
    • display balance for each metric
  • IF USER’S FIRST TIME STAKING RABBIT
    • Show Approve button
    • IF USER’S NOT FIRST TIME STAKING RABBIT
      • Show Stake button
  • If MAX button is clicked, user’s maximum amount of RABBIT (if on Stake RABBIT tab) or SRABBIT (if on Unstake tab) will appear

See designs for visual aid: https://www.figma.com/file/k6c7Ih8VMaPfogAIRlkA7o/Rebasing-NFTs?node-id=275%3A14265

[Stats Page]

Needs to query stats from subgraph of the smart contracts
No difference in Connected Wallet vs. Uncollected Wallet states

image

[Mint page]

Unconnected wallet state; if mint is live
image

Connected wallet state; if mint is live

  • slider goes from 1 rabbit to 5 rabbits
  • need to have uint256 public maxMintAmount = 5 in NFT BaseCollection contract
    image

Mint is over state
image

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.