Skip to content

Latest commit

 

History

History

portfolio

metamask-portfolio

Connect your wallet and get all balances

This is a Next.js project bootstrapped with create-next-app utilizing @tatumio/tatum for a simple MetaMask integration. It combines several examples available in Tatum Docs into a single straightforward easily customizable mini application capable of connecting to the wallet and getting all token balances on Sepolia Testnet blockchain along with metadata in case of NFTs or multitokens.

Demo

Prerequisites

  • Node.js 16.8 or later.
  • macOS, Windows (including WSL), and Linux are supported.

In order to be able to connect your wallet, you also need to have the MetaMask extension in your browser. For more information on how to install, configure and use it, please refer to Getting started with MetaMask.

You should also make sure to switch to Sepolia Testnet network before interacting with the app. In order to be able to play around with it properly, you will need a wallet containing several tokens (ideally not only native and fungible, but also NFTs or multitokens).

There is, however, also an option to skip the process of installing MetaMask and obtaining such wallet by simply inputting a different wallet address of your choice you do not necessarily have to own.

Getting Started

First, install all the dependencies:

npm install
# or
yarn
# or
pnpm install

Afterwards, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result and feel free to try it out on your own. The project uses following examples (although you can of course fully customize them or try any other ones included in the documentation):

Learn More

To learn more about Tatum SDK, take a look at the following resources: