A NextJS application to quickly lookup a mrgn account.
Install dependencies and run development server:
cp .env.sample .env
# configure env variables
yarn i
yarn dev
Open http://localhost:3000 with your browser to see the result.
There is an unresolved issue with the marginfi client and NextJS app router, hence the page router implementation for api routes that interact with the SDK.