Skip to content

Update the evidence display URI on multiple GTCR instances at once.

License

Notifications You must be signed in to change notification settings

kleros/gtcr-mass-update

Repository files navigation

Curate Mass evidence display URI update

JavaScript Style Guide Conventional Commits Commitizen Friendly Styled with Prettier

Target audience: Curate developers.

When working with multiple lists, updating just the evidence display can be very time consuming and error-prone. Instead of doing it manually you can use this tool.

There are two modes of operation:

  1. GENERATE: Here the tool does not send transactions to the blockchain. Instead it generates the meta evidence files, uploads it to ipfs and gives you the URIs.
  2. SEND: In this mode the tool does everything.

You can set the operation mode via the MODE env variable.

Prerequisites

  • Tested on NodeJS version 10

Get Started

  1. Clone this repo.
  2. Duplicate .env.example, rename it to .env and fill in the environment variables.
  3. Run yarn to install dependencies and then yarn start to run the tool.

Other Scripts

  • yarn format - Lint, fix and prettify all the project. .js files with styled components and .js files.
  • yarn run cz - Run commitizen.

About

Update the evidence display URI on multiple GTCR instances at once.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published