A small portfolio page for users to display token balances from token lists. Upon logging in, users can access a concise portfolio page that showcases their token balances across multiple supported chains. This page allows users to easily display their token holdings from various token lists associated with their connected wallet.
Proposed work scope on Notion.
Deployed version: https://as-portfolio-zeta.vercel.app/
@web3-react
to handle wallet connections and adding networksethereum-multicall
Reduces the amount of calls made to RPC providers.react-query
Used to create custom fetch hooks, cache data on the client side and refech data when cache is stalereact-table
is being used in conjunction withreact-virtual
to crate reusable, agnostic and headless tables that perform well, reduce the amount of re-renders and can render thousands of rows smoothly.
- Clone the repo
- Install the dependencies
- Add env variables
To do this, first open a terminal and run the following commands:
git clone git@github.com:UrbanWill/as-portfolio.git
cd as-portfolio
Add NEXT_PUBLIC_INFURA_PROJECT_ID
envrioment variable to .env.local
file
Then, run the development server:
yarn dev
Open http://localhost:3003 with your browser to see the result.
To view component stories, open a terminal and run the following commands:
cd as-portfolio
yarn storybook
Open http://localhost:6006 with your browser to see the result.