This repo contains the dart clients for Threefold grid.
Make sure you have the following tools installed:
To initialize workspace in all packages run the following command
melos bootstrap
To analyze code in all dart package run the following command
melos run analyze
To run unit tests in all packages that have test
directory, run the following command
docker run --network host ghcr.io/threefoldtech/tfchain --dev --rpc-cors all --rpc-external --rpc-methods=safe
Then run :
melos run unit_test
To generate coverage for all packages and merge the results, use the following commands
melos run unit_test_and_coverage
Check results from result.txt
with the following command
cat coverage/result.txt