A decentralized application (dApp) for interacting with Secured Finance's stablecoin protocol, featuring the USDFC stablecoin backed by Filecoin.
- Clone this repository
- Create a file
.env.local
at the root of the project. Please refer to.env.local.sample
for the list of environment variables - Run
nvm use
to ensure you are using the correct node version - Set your personal access token issued on your Github account by calling the following command:
export NPM_AUTH_TOKEN=<your access token>
- Install all required dependencies by running
npm install
- Run
npm run start
to start development mode
This repository provides a .vscode/settings.json
which assumes you have the following extensions installed in your code editor:
- ESLint
- Prettier
- TailwindCSS Intellisense
- Code Spell Checker
Those extensions helps streamline the development process by creating a standard way of formatting the code.
Run the test suite:
npm run test
Launch the component development environment:
npm run storybook
Here's a brief high-level overview of the tech stack the Secured Finance App uses:
- Next.js: A React framework that enables server-side rendering and simplifies the creation of performant web applications
- Jest: Delightful JavaScript testing framework with a focus on simplicity and effectiveness, commonly used for unit and integration testing in React applications
- React Testing Library: Facilitates user-centric testing in React applications by providing intuitive utilities for querying and interacting with components
- Storybook: Development environment for UI components, providing a sandboxed environment to visually develop and test components in isolation.
- Tailwind CSS: Utility-first CSS framework that allows for rapid UI development by providing pre-defined utility classes for styling elements
- Wagmi: A useful library of React Hooks for Ethereum
This project is licensed under the MIT license, Copyright (c) 2025 Secured Finance. For more information see LICENSE.md
.