Git Product home page Git Product logo

rarity-analyzer's Introduction

Rarity Analyzer

An open source rarity discord bot and site for everyone.

Table of Contents

Overview

Rarity Analyzer from the PunkScapes community is an open source solution for generating the rarity site and a discord bot of your collections on ERC-721 standard.

Demo rarity sites generated with this project:

How do I generate rarity for my collection?

Before you generate your rarity site, Ready your collections data (ERC-721 format) and then few configuration values Sample ENV.

Steps to deploy your rarity site

  1. Fork this project (make it private if using bots)
  2. Clone it locally or start editing online in github (Press dot / change url from github.com to github.dev) without leaving your browser.
  3. Update collection data replace the sample file located at data/collection.json
  4. Update collection configuration, Create .env.production refer/copy keys from .env.sample
  5. Press Deploy below and select the repo or if local run npx vercel --prod.

Deploy with Vercel

NOTE: A comprehensive guide about will be added soon.

Setup the discord bot

Configure your bot to run application commands (/rarity)

  • Deploy your rarity site and add the bots config in the .env.production file.
  • Create a discord application
  • Add your INTERACTIONS ENDPOINT URL <your-rarity-site>/api/rarity
  • Authorize your discord server with bot and application.commands bot permission
  • Start interacting with your rarity bot.

The bot interaction api is at ``

Run and Configure your connected client bot (!rarity)

  • WIP

Developing

Local Development Environment

Note: Make sure you have the latest version of node installed ^14.16.

cd rarity-analyzer;
nvm install; # to install the version in .nvmrc
  1. Clone this repo with git
  2. Install dependencies by running yarn
  3. Start the development server with yarn dev
  4. Open development site by going to https://localhost:3000

Built with

Contributing

Please feel free to open an issue for any suggestions you might have for this project.

Thanks for showing interest in contributing to Rarity analyzer.

CONTRIBUTING.md - WIP

Support

Thanks to PunkScape Community for this initiative.

rarity-analyzer's People

Contributors

middlerange 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.