{"id":23107745,"url":"https://github.com/kleros/tcr","last_synced_at":"2025-08-16T17:31:46.181Z","repository":{"id":35075059,"uuid":"194565887","full_name":"kleros/tcr","owner":"kleros","description":"Arbitrable Permission Lists on Ethereum","archived":false,"fork":false,"pushed_at":"2023-08-08T18:01:01.000Z","size":4083,"stargazers_count":12,"open_issues_count":12,"forks_count":9,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-11-07T04:11:38.403Z","etag":null,"topics":["arbitrable","curated-list","curated-lists-v1","kleros","smart-contracts","token-list"],"latest_commit_sha":null,"homepage":"","language":"Solidity","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":null,"funding":null,"license":"LICENSE.md","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-06-30T22:10:37.000Z","updated_at":"2024-07-31T17:33:05.000Z","dependencies_parsed_at":"2024-06-19T22:51:35.929Z","dependency_job_id":"56965dbb-bb5d-431b-b490-5791a2353874","html_url":"https://github.com/kleros/tcr","commit_stats":{"total_commits":195,"total_committers":18,"mean_commits":"10.833333333333334","dds":"0.41025641025641024","last_synced_commit":"72e547ea135d839dc5db34e79e9f94f05c6a92bb"},"previous_names":[],"tags_count":46,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kleros%2Ftcr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kleros%2Ftcr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kleros%2Ftcr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kleros%2Ftcr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kleros","download_url":"https://codeload.github.com/kleros/tcr/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":["arbitrable","curated-list","curated-lists-v1","kleros","smart-contracts","token-list"],"created_at":"2024-12-17T01:15:57.562Z","updated_at":"2024-12-17T01:15:58.142Z","avatar_url":"https://github.com/kleros.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cb style=\"font-size: 32px;\"\u003eArbitrable Permission Lists on Ethereum\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://github.com/trufflesuite/truffle\"\u003e\u003cimg src=\"https://img.shields.io/badge/tested%20with-truffle-red.svg\" alt=\"Tested with Truffle\"\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://github.com/prettier/prettier\"\u003e\u003cimg src=\"https://img.shields.io/badge/styled_with-prettier-ff69b4.svg\" alt=\"Styled with Prettier\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nContracts for creating arbitrable permission lists on Ethereum.\n\n## Development\n\n1.  Clone this repo.\n2.  Run `yarn install` to install dependencies and then `yarn build` to compile the contracts.\n\n## Release\n\nTo bump the version of the package, use `yarn release`.\n\n## Scripts\n\n- `yarn prettify` - Apply prettier to the entire project.\n- `yarn lint:sol` - Lint the entire project's .sol files.\n- `yarn lint:js` - Lint the entire project's .js files.\n- `yarn lint:sol --fix` - Fix fixable linting errors in .sol files.\n- `yarn lint:js --fix` - Fix fixable linting errors in .js files.\n- `yarn lint` - Lint the entire project's .sol and .js files.\n- `yarn test` - Run the truffle tests.\n- `yarn cz` - Run commitizen.\n- `yarn build` - Compiles contracts and extracts the abi into the abi folder.\n- `yarn release` - Run standard-version`.\n\n## Test\n\nTestrpc default gas limit is lower than the mainnet which prevents deploying some contracts. Before running truffle tests use:\n`testrpc -l 8000000`.\n\n## Testing contracts\n\n- Run `npx hardhat compile` to compile the contracts.\n- Run `npx hardhat test` to run all test cases in test folder.\n- Run `npx hardhat test \u003clocation of test file\u003e` to run the test cases for specific contract.\n\n## Testing contracts on specific network\n\n- Run `npx hardhat test --network \u003cnetwork name in hardhat.config.js\u003e` to run all test cases in test folder.\n- Run `npx hardhat test \u003clocation of test file\u003e --network \u003cnetwork name in hardhat.config.js\u003e` to run the test cases for specific contract.\n- Add private keys for the roles needed to test the contracts according to hardhat.config.js.\n\n## Contributing\n\nSee [contributing](https://kleros.gitbook.io/contributing-md/).\n\nLearn how to develop arbitrable and arbitrator contracts [here](https://erc-792.readthedocs.io/en/latest/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkleros%2Ftcr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkleros%2Ftcr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkleros%2Ftcr/lists"}