Giter Site home page Giter Site logo

algodex / algodex-rewards Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 1.93 MB

Home Page: https://rewards.algodex.com

License: GNU Affero General Public License v3.0

JavaScript 99.62% CSS 0.07% Shell 0.04% TypeScript 0.27%
algodex algorand cryptocurrency nextjs react

algodex-rewards's Introduction

Algodex Rewards

This is the front-end app for the Algodex rewards system, which incentivizes high quality liquidity on the platform.

Algodex Documentation: https://docs.algodex.com

This is a Next.js project bootstrapped with create-next-app.

Getting Started

Copy .env.example to .env.

cp .env.example .env

First, 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 page by modifying pages/index.js. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.js.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

Log in as another wallet for view-only purposes

Add this to the URL

?viewAsWallet=L7W6QQAW3KW3T7OEHNVQ36Z7WIDD33YAO2524IJGV47R3K426ZGJEQU6OQ

algodex-rewards's People

Contributors

treasurechic avatar atrefonas avatar phearzero avatar ericsharma avatar

Stargazers

 avatar  avatar

Watchers

Ikechi avatar  avatar

Forkers

atrefonas

algodex-rewards's Issues

✨ Feature: Add API call to get vested_rewards

β„Ή Overview

const getVestedRewardsData = async (wallet) => {
  const rewardsDB = getDatabase('vested_rewards')
  const rewardsData =
    await rewardsDB.query('vested_rewards/vested_rewards',
      {reduce: false, keys: [wallet]} )
  return rewardsData
}

πŸ“ Related Issues

πŸ› Fix: Update chart to work with unvested rewards.

β„Ή Overview

Update chart to work with unvested rewards. WYWRYK42XADLY3O62N52BOLT27DMPRA3WNBT2OBRT65N6OEZQWD4OSH6PI - why isn’t it showing up in charts?

Why does chart with dummy data show with WYWRYK42XADLY3O62N52BOLT27DMPRA3WNBT2OBRT65N6OEZQWD4OSH6PI after refresh? Should only show dummy data after knowing no wallets are connected.

πŸ“ Related Issues

πŸ’» System Configuration

  • Operating System:
    • Edition:
    • Version:
    • Build:
  • Browser:
    • Type:
    • Version:

πŸ› Fix: Reduce left margin by 75%

β„Ή Reduce left margin by 75%

Screen Shot 2022-07-29 at 12 08 04 PM

πŸ“ Related Issues

πŸ’» System Configuration

  • Operating System:
    • Edition:
    • Version:
    • Build:
  • Browser:
    • Type:
    • Version:

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.