Skip to content

Live demo ​

Two small protocols ship with sourcetruth, written to show everything the map can draw. Pick an example, then walk the steps — each one moves the map beside it. Everything you see is the tool's real output.

Generated with sourcetruth --demo from the examples in the repository. Open this map in its own tab

Run it yourself ​

bash
npm install -g @prajwalghate/sourcetruth
sourcetruth --demo -o demo.html
sourcetruth --demo daml -o demo-daml.html

demo.html is the Solidity vault and demo-daml.html the Daml lending protocol. Open them in a browser: double-click the file, or on a Mac run open demo.html.

The example source lives in examples/ in the repository.

Released under the MIT License.