Welcome! This guide will walk you through the process of setting up the project and testing the application.
To get started, you'll first need to clone the repository:
git clone [repository-url] # Replace [repository-url] with the actual repo link.
Once cloned, navigate to the project directory and run:
npm install
You can start the dev server using one of the following commands:
npm run dev
# or
yarn dev
# or
pnpm dev
We've created two GoerliETH coins for application testing via Remix Ethereum:
To work and test these coin transfers:
- Visit Goerli Faucet.
- Add your address.
- Request the faucet to send some tokens to your address.
Note: This application exclusively uses the Goerli provider. No other providers are supplied for different chains. Ensure you're testing on the Goerli network.
Upon logging into the app, you will notice two ERC20 coins:
- Vik Coin
- Eunna Coin
-
State Management: The application leverages Zustand for global state management. It offers a reduced amount of boilerplate compared to other state management tools like Redux or Recoil. We chose not to employ react-query since wagmi js met most of our requirements.
-
Business Logic: All business logic can be found within custom hooks in the
hooks
folder. Organizing logic in this manner simplifies maintenance, facilitates logic reuse, and is advantageous for unit testing. However, please note that no test cases have been written as of now. Despite this, the operational business design allows for simpler test case and E2E test case composition. -
Design: The app's aesthetics have been enhanced using Tailwind CSS.
Happy coding and testing! If you encounter any issues or have feedback, please feel free to raise them in the repository's issues section.