This UI showcases how minting and redeeming USDtb can be done in a React application.
Inside the ui
directory, run the following commands:
- Install dependencies:
pnpm i
- Run the development server:
pnpm dev
You can toggle between interacting with the production and staging environment by changing the IS_PROD
variable in /app/constants/app-config.ts
.
- Copy all files to your project.
- Install dependencies.
- Set the environment variables in your project.
- Update /constants/app-config.ts with your project's configuration.
- Removing supporting text from /app/layout.tsx.
- Connecting your wallet to get started
- Confirming your address is on the whitelist
- Checking token allowance and setting token approval
- Minting tokens with your signed transaction