DeFi Llama
  • List your project
    • DefiLlama and our methodology
    • How to list a DeFi project
    • How to add a new Blockchain
    • How to write an SDK adapter
    • Functions we've written so you don't have to
      • Staking and Pool2
      • Fork helpers
      • General EVM contract calls
    • What to include as TVL?
    • How to update a project
    • How to write dimensions adapters
    • Emissions dashboard
      • Protocol Files
      • Emission Sections
      • Testing
    • Oracles TVS
  • analysts
    • Data Definitions
    • Custom columns
  • Chainlist
    • How to change Ethereum's RPC
    • Add a new RPC endpoint
  • FAQs
    • Frequently Asked Questions
  • Coin Prices API
  • Pricing
Powered by GitBook
On this page

Was this helpful?

  1. List your project
  2. Emissions dashboard

Testing

The most important part

PreviousEmission SectionsNextOracles TVS

Last updated 2 years ago

Was this helpful?

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.

Bentura and Shaman, Patagonia, August 2021