/quickstart

Quick Start for Universal Rabbit Hole

Primary LanguageTypeScript

A Quick Start for Universal Rabbit Hole

In this quick start example, we are going to demonstrate the basic usage of Navigator and Gateway:

  • simple-fetcher: Fetch / deserialize on-chain data and instantiate pool and farms for 10+ protocols in less than 50 lines of code.
  • simple-composer: Compose a few actions into one operation (in this case, swap, addLiquidity and stake) for Raydium protocol in less than 50 lines of code.

Install dependencies

$ yarn

Run

$ yarn start

What's Next?

  • See the documentations for Navigator and Gateway for advanced usages
  • Checkout this tutorial for building a DApp using Universal Rabbit Hole