Thank you for your interest in contributing to the Horswap! 🐎
Before running anything, you'll need to install the dependencies:
yarn install
yarn start
The interface should automatically open. If it does not, navigate to [http://localhost:3000].
Build horswap docker
docker build -f Dockerfile . -t horswap
Deploy to IPFS (requires running local IPFS node with the API exposed on default port, IPFS Desktop is sufficient)
docker container run --rm -it horswap
The last line of the output should say:
added bafyb... export
Given that you are hosting IPFS gateway at localhost:8081, you can then navigate to [bafyb....ipfs.localhost:8081] to interact with Horswap.
yarn test
By default, this runs only unit tests that have been affected since the last commit. To run all unit tests:
yarn test --watchAll