Installing use-cardano is straight forward. You can either use the starter template, or integrate it into an existing project.
The easiest way to get started is to use the starter template. It's a Next.JS project that has use-cardano installed and configured. You can use it as a starting point for your own project.
- Cardano Starter Kit Github repository (opens in a new tab)
- Cardano Starter Kit Website (opens in a new tab)
Integrating into an existing project
If you want to integrate use-cardano into an existing project, follow the steps below. Depending on your tech stack, you might need to do some additional configuration. If you are having problems, please open an issue on github (opens in a new tab).
1. Install peer dependencies and use-cardano
npm install react lucid-cardano use-cardano