{"id":23107752,"url":"https://github.com/kleros/gtcr","last_synced_at":"2025-08-16T17:31:47.008Z","repository":{"id":37094500,"uuid":"195855991","full_name":"kleros/gtcr","owner":"kleros","description":"Web client for the kleros generalized token curated list","archived":false,"fork":false,"pushed_at":"2024-06-12T15:21:27.000Z","size":5817,"stargazers_count":17,"open_issues_count":72,"forks_count":10,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-06-13T19:27:25.007Z","etag":null,"topics":["arbitration","blockchain","curated-list","ethereum","frontend","generalized-curated-list","kleros"],"latest_commit_sha":null,"homepage":"https://curate.kleros.io","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kleros.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-08T17:17:13.000Z","updated_at":"2024-06-12T15:21:29.000Z","dependencies_parsed_at":"2024-03-20T11:56:04.975Z","dependency_job_id":"f89902a5-73ab-4e79-b69d-c51830248b46","html_url":"https://github.com/kleros/gtcr","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kleros%2Fgtcr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kleros%2Fgtcr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kleros%2Fgtcr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kleros%2Fgtcr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kleros","download_url":"https://codeload.github.com/kleros/gtcr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230047188,"owners_count":18164575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arbitration","blockchain","curated-list","ethereum","frontend","generalized-curated-list","kleros"],"created_at":"2024-12-17T01:15:59.700Z","updated_at":"2024-12-17T01:16:00.271Z","avatar_url":"https://github.com/kleros.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cb style=\"font-size: 32px;\"\u003eGeneralized Token Curated List\u003c/b\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://standardjs.com\"\u003e\u003cimg src=\"https://img.shields.io/badge/code_style-standard-brightgreen.svg\" alt=\"JavaScript Style Guide\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://conventionalcommits.org\"\u003e\u003cimg src=\"https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\" alt=\"Conventional Commits\"\u003e\u003c/a\u003e\n  \u003ca href=\"http://commitizen.github.io/cz-cli/\"\u003e\u003cimg src=\"https://img.shields.io/badge/commitizen-friendly-brightgreen.svg\" alt=\"Commitizen Friendly\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://app.netlify.com/sites/gtcr-dev/deploys\"\u003e\u003cimg src=\"https://api.netlify.com/api/v1/badges/ff0eb1e7-e70c-4319-9e5c-f8532b053900/deploy-status\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Get Started\n\n1.  Clone this repo.\n2.  Duplicate `.env.example` and rename it to `.env`. Fill the environment variables.\n3.  Run `nvm use 16`\n4.  Run `yarn` to install dependencies and then `yarn build:theme \u0026\u0026 yarn start` to start the dev server.\n\n\u003e Tested on node version 10.\n\n## Supporting New Field Types\n\nThe Generalized TCR clients can learn how to parse and decode data stored onchain by reading what are the field types of each column from the `metadata` object stored on the meta evidence file.\n\n### Important\n\nTo support a new field type, it is required to update the evidence display interface as well. Otherwise it might not know how to parse it and crash on arbitrator clients, preventing them from properly judging a case.\n\nThe evidence display interface code of the Generalized TCR can be found at [https://github.com/kleros/gtcr-injected-uis](https://github.com/kleros/gtcr-injected-uis).\n\n## Other Scripts\n\n- `yarn format` - Lint, fix and prettify all the project.\n- `yarn run cz` - Run commitizen.\n- `yarn run build` - Create a production build.\n\n## Netlify Deployment\n\nWhen setting up the repo for publishing on netlify:\n1. Fill the env variables in netlify.toml;\n2. Set the following environment variables on the site's build config in netlify's dashboard:\n```\nREACT_APP_RPC_URLS\nREACT_APP_FORMATIC_API_KEYS\nREACT_APP_NOTIFICATIONS_API_URL\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkleros%2Fgtcr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkleros%2Fgtcr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkleros%2Fgtcr/lists"}