Read more about the Vaults program here.
Run the following command to setup the project:
sh ./initial-setup.sh
(note : this uses yarn links in the submodules, may screw with symlinks if you're using them in another local repo)
This will pull the relevant git submodules, install dependencies, and build the submodules.
If you need to update any submodules, change directory to the submodule, pull the relevant changes, and then run yarn build
to build the submodule.
add a .env.local
file to be able to run the project locally. You can see example config in .env.example
sh ./build_all_sm.sh
- shortcut to build all submodules and dependencies. (note : this uses yarn links in the submodules, may screw with symlinks if you're using them in another local repo)
yarn convert-icons
- place any new icons in app/public/icons
and run this command to convert them to React components.
yarn build-vaults
- use this command in the root directory to quickly build the Vaults TS SDK.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.