Testing

The most important part

Once you're ready to debug your protocol file, add it to protocols/index.ts (preferably in alphabetical order). Run ts-node utils/test.ts [name of your protocol] and it should save a result.png where you can see the result of your protocol file. Check that the values make sense and it looks like what you expected.

Thanks for reading this guide. If you have any further questions, don't hesitate to reach out on our Discord. We are all very responsive and happy to help.

We always appreciate feedback on our developer experience. If anything seems unintuitive or complicated, let us know and we'll do our best to improve our processes.

Last updated