The UI team is using TypeScript to build the first trading interface

The UI dev team has been using TypeScript since day one for building Vega’s first dApp, the derivatives trading UI. @Edd and @Matt use GraphQL & TypeScript to have consistent types throughout the trading interface. They share how they’re doing it on Vega’s blog.

What kind of dApps would you build as an interface with the Vega infrastructure, and what languages and libraries would use use to do it?

6 months on, this post still holds up - we’re using the same process and it has scaled well. The only slightly related part that has changed is that @matt has convinced me that Apollo’s Query Components ( are a pretty neat idea. Apollo’s documentation for using TypeScript contain a good guide for correctly typing in components/React hooks: