Giter Site home page Giter Site logo

kleros / t2cr-to-ipfs Goto Github PK

View Code? Open in Web Editor NEW
2.0 9.0 2.0 1006 KB

Pulls token information from the kleros t2cr and publishes them to ipfs following uniswap/token-lists schema.

License: MIT License

JavaScript 2.25% TypeScript 96.55% Shell 1.19%
blockchain arbitration token tcr ethereum kleros-t2cr backend token-list

t2cr-to-ipfs's Introduction

T2CR to IPFS

JavaScript Style Guide Conventional Commits Commitizen Friendly

Pulls token information from the kleros T2CR and publishes to IPFS following uniswap/token-lists schema.

Requirements

Tested on node version 10.21.0.

Debugging

If developing in VS Code/Codium, you can use this .vscode/launch.json file for debugging:

{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "node",
      "request": "attach",
      "name": "Attach to dev:debug",
      "protocol": "inspector",
      "port": 4321,
      "restart": true,
      "cwd": "${workspaceRoot}"
    }
  ]
}

Contributing

See CONTRIBUTING.md.

t2cr-to-ipfs's People

Contributors

eccentricexit avatar greenlucid avatar harman-singh-waraich avatar jaybuidl avatar mtahon avatar salgozino avatar y86993 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

t2cr-to-ipfs's Issues

Heartbeat monitoring

Add a heartbeat after the bot has run to monitoring if the bot is performing well.

Support tokens with diacritics

Hello,

Tokens with diacritics are not being parsed by the script:

{
  keyword: 'pattern',
  dataPath: '.tokens[445].name',
  schemaPath: '#/properties/name/pattern',
  params: { pattern: "^[ \\w.'+\\-%/]+$" },
  message: `should match pattern "^[ \\w.'+\\-%/]+$"`,
  schema: "^[ \\w.'+\\-%/]+$",
  parentSchema: {
    type: 'string',
    description: 'The name of the token',
    minLength: 1,
    maxLength: 40,
    pattern: "^[ \\w.'+\\-%/]+$",
    examples: [ 'USD Coin' ]
  },
  data: 'Líf'
}

Diacritics are supported in Uniswap token list since 1.0.0-beta.16, but Kleros is using 1.0.0-beta.15.

Please kindly update the dependencies to use "@uniswap/token-lists": "^1.0.0-beta.16".

Thanks and Regards,
Mathieu

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.