https://github.com/kleros/tcr
Arbitrable Permission Lists on Ethereum
https://github.com/kleros/tcr
arbitrable curated-list curated-lists-v1 kleros smart-contracts token-list
Last synced: 5 months ago
JSON representation
Arbitrable Permission Lists on Ethereum
- Host: GitHub
- URL: https://github.com/kleros/tcr
- Owner: kleros
- License: mit
- Created: 2019-06-30T22:10:37.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-08-08T18:01:01.000Z (almost 2 years ago)
- Last Synced: 2024-11-07T04:11:38.403Z (7 months ago)
- Topics: arbitrable, curated-list, curated-lists-v1, kleros, smart-contracts, token-list
- Language: Solidity
- Homepage:
- Size: 3.89 MB
- Stars: 12
- Watchers: 12
- Forks: 9
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
Arbitrable Permission Lists on EthereumContracts for creating arbitrable permission lists on Ethereum.
## Development
1. Clone this repo.
2. Run `yarn install` to install dependencies and then `yarn build` to compile the contracts.## Release
To bump the version of the package, use `yarn release`.
## Scripts
- `yarn prettify` - Apply prettier to the entire project.
- `yarn lint:sol` - Lint the entire project's .sol files.
- `yarn lint:js` - Lint the entire project's .js files.
- `yarn lint:sol --fix` - Fix fixable linting errors in .sol files.
- `yarn lint:js --fix` - Fix fixable linting errors in .js files.
- `yarn lint` - Lint the entire project's .sol and .js files.
- `yarn test` - Run the truffle tests.
- `yarn cz` - Run commitizen.
- `yarn build` - Compiles contracts and extracts the abi into the abi folder.
- `yarn release` - Run standard-version`.## Test
Testrpc default gas limit is lower than the mainnet which prevents deploying some contracts. Before running truffle tests use:
`testrpc -l 8000000`.## Testing contracts
- Run `npx hardhat compile` to compile the contracts.
- Run `npx hardhat test` to run all test cases in test folder.
- Run `npx hardhat test ` to run the test cases for specific contract.## Testing contracts on specific network
- Run `npx hardhat test --network ` to run all test cases in test folder.
- Run `npx hardhat test --network ` to run the test cases for specific contract.
- Add private keys for the roles needed to test the contracts according to hardhat.config.js.## Contributing
See [contributing](https://kleros.gitbook.io/contributing-md/).
Learn how to develop arbitrable and arbitrator contracts [here](https://erc-792.readthedocs.io/en/latest/).