https://github.com/datachainlab/toki-bridge-evm-contracts
https://github.com/datachainlab/toki-bridge-evm-contracts
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/datachainlab/toki-bridge-evm-contracts
- Owner: datachainlab
- License: other
- Created: 2023-03-09T05:14:21.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-30T05:11:46.000Z (over 1 year ago)
- Last Synced: 2025-03-25T07:35:03.373Z (about 1 year ago)
- Language: Solidity
- Size: 486 KB
- Stars: 0
- Watchers: 13
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# toki-bridge-evm-contracts
## Requirements
- Foundry
- Node v18.14.0
- gsed
- for Mac: `brew install gnu-sed`
For more information on Foundry, please visit [https://book.getfoundry.sh/](https://book.getfoundry.sh/).
## Compilation
To compile the project, run the following command:
```
make setup
make build
```
## Testing
### Test using Foundry
To run tests, execute the following command:
```
make test
```
### Test using Hardhat
To run tests, execute the following command:
```
make build-hardhat
make test-hardhat
```
## Formatting
Solidity files are automatically formatted with Prettier upon git commit. To enable this feature, run the following command:
```
npm run format
```
## ABI
## Github Actions
### Slither
Slither is a Solidity static analysis tool. Slither depends on foundry, so we maintain nightly tags for foundry.
Foundry provides persisted artifacts on a monthly basis. We want to switch to the latest nightly version as they become available.