GithubHelp home page GithubHelp logo

cow-zk's Introduction

Privacy Preserving CoW Swap Trader Leaderboard - Based on Sismo Badges

status:

local version with "real" users data has being made. marketing related design and text needed. once marketing provide the neccesry information the nadges would go online

what is missing for going online

I am currently missing the below marketing metadata to be able to move forward

Main url

  {
    path: "CoW Swap Trader Badges",
    title: "CoW Swap",
    subtitle: "Show that you are a special CoW, claim your trader badge!",
    logoUrl: "https://cow.fi/images/hero-image.svg",
    onboardingDescription: "Mint this badge to show that you are a unique CoW Swap trader",
    ctaLabel: "What are you waiting for? Trade today at swap.cow.fi",
    ctaUrl: "https://cow.fi/",
    congratulationTexts: ["Moooooo-d work CoW],
   },

badge main

Badge Meta data

If the user want more details, one can press on the badge and the bellow image would appear. Here one can find the data need to change

    {
      name: "Top 100 CoW Trader", // add a name to your badge
      description: "Top 100 CoW Trader", // describe it !
      image: "cow_top_100.svg", // this is the svg path can be create easily from here https://factory.sismo.io/svg-editor
      publicContacts: [
        // give us a way to join you :)
        {
          type: "github", // github | twitter | lens ...
          contact: "leosayous21", // your username
        },
      ],
      eligibility: {
        // provide a short description of your eligibility criterias
        shortDescription: "According to aggregate 2022 volumes, you're a top 100 CoW trader",
        // provide a technical description of your eligibility criterias
        specification:
          "According to aggregate 2022 volumes, you've traded more than $21,328,944",
      },
      links: [
        {
          logoUrl: "https://cow.fi/images/og-meta-cowprotocol.png", // a nice logo to have next to the url
          label: "COW", // label for your url
          url: "https://cow.fi/", 
        },
      ],
    },
    {
      name: "Top 1000 CoW Trader", // add a name to your badge
      description: "Top 1000 CoW Trader", // describe it !
      image: "cow_top_1000.svg", // this is the svg path can be create easily from here https://factory.sismo.io/svg-editor
      publicContacts: [
        // give us a way to join you :)
        {
          type: "github", // github | twitter | lens ...
          contact: "leosayous21", // your username
        },
      ],
      eligibility: {
        // provide a short description of your eligibility criterias
        shortDescription: "According to aggregate 2022 volumes, you're a top 1000 CoW trader",
        // provide a technical description of your eligibility criterias
        specification:
          "According to aggregate 2022 volumes, you've traded more than $1,732,642",
      },
      links: [
        {
          logoUrl: "https://cow.fi/images/og-meta-cowprotocol.png", // a nice logo to have next to the url
          label: "COW", // label for your url
          url: "https://cow.fi/", 
        },
      ],
    },
    {
      name: "Top 5000 CoW Trader", // add a name to your badge
      description: "Top 5000 CoW Trader", // describe it !
      image: "cow_top_5000.svg", // this is the svg path can be create easily from here https://factory.sismo.io/svg-editor
      publicContacts: [
        // give us a way to join you :)
        {
          type: "github", // github | twitter | lens ...
          contact: "leosayous21", // your username
        },
      ],
      eligibility: {
        // provide a short description of your eligibility criterias
        shortDescription: "According to aggregate 2022 volumes, you're a top 5000 CoW trader",
        // provide a technical description of your eligibility criterias
        specification:
          "According to aggregate 2022 volumes, you've traded more than $160,321",
      },
      links: [
        {
          logoUrl: "https://cow.fi/images/og-meta-cowprotocol.png", // a nice logo to have next to the url
          label: "COW", // label for your url
          url: "https://cow.fi/", 
        },
      ],
    },
    {
      name: "Top 15000 CoW Trader", // add a name to your badge
      description: "Top 15000 CoW Trader", // describe it !
      image: "cow_top_15000.svg", // this is the svg path can be create easily from here https://factory.sismo.io/svg-editor
      publicContacts: [
        // give us a way to join you :)
        {
          type: "github", // github | twitter | lens ...
          contact: "leosayous21", // your username
        },
      ],
      eligibility: {
        // provide a short description of your eligibility criterias
        shortDescription: "According to aggregate 2022 volumes, you're a top 15000 CoW trader",
        // provide a technical description of your eligibility criterias
        specification:
          "According to aggregate 2022 volumes, you've traded more than $13,167",
      },
      links: [
        {
          logoUrl: "https://cow.fi/images/og-meta-cowprotocol.png", // a nice logo to have next to the url
          label: "COW", // label for your url
          url: "https://cow.fi/", 
        },
      ],
    },
    {
      name: "CoW Trader", // add a name to your badge
      description: "CoW Trader", // describe it !
      image: "cow_top_100.svg", // this is the svg path can be create easily from here https://factory.sismo.io/svg-editor
      publicContacts: [
        // give us a way to join you :)
        {
          type: "github", // github | twitter | lens ...
          contact: "leosayous21", // your username
        },
      ],
      eligibility: {
        // provide a short description of your eligibility criterias
        shortDescription: "Anyoe that have traded on CoW Swap in 2022",
        // provide a technical description of your eligibility criterias
        specification:
          "Anyoe that have traded on CoW Swap in 2022",
      },
      links: [
        {
          logoUrl: "https://cow.fi/images/og-meta-cowprotocol.png", // a nice logo to have next to the url
          label: "COW", // label for your url
          url: "https://cow.fi/", 
        },
      ],
    },

after-pressing-on-badge.png

How to do future changes

  1. fork sismo repo

  2. clone and install locally

    bash git clone [email protected]:<your_github_username>/sismo-hub.git cd sismo-hub/ yarn

  3. create a branch and work on it

  4. apply your chnages (exmaple replacing badges)

    1. easyest way would to go to ```static/badges/.svg and just replace the existing one with the same name
    2. if it not the same name you have to change it ass well in the badges meta data folder: badges-metadata/playground/hydra-s1-
  5. Add your changes and commit them

  6. You will then see on your forked repository the following message, you can click on "Compare and pull request" to begin creating your pull request

  7. create the pr!

useful links:

sismo docs create your own badge

cow-zk's People

Contributors

alon-thoughtworks avatar avsavsavs avatar ca8888 avatar cmagan avatar

Watchers

 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.