Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sainthiago authored Feb 1, 2024
1 parent 7c43660 commit 2e80538
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions marketplace/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@ This guide will take you step by step through the process of creating a basic ma

The mintbase-js/data package provides convenient functions for retrieving data from our indexer. In this example, you will be able to view and purchase NFTs from a specific store.

You can find more information on Github: [GitHub link]
You can find more information on Github: [GitHub link](https://github.com/Mintbase/mintbase-js/tree/beta/packages/data)

A live demo of the marketplace can be found here: [Live demo link]
A live demo of the marketplace can be found here: [Live demo link](https://marketplace-template.mintbase.xyz/)

## Step 1: Connect Wallet

Before proceeding, it is important to have a wallet connection feature implemented in your application in order to interact with the contract. To do this, you can check our guide [Wallet Connection Guide](https://docs.mintbase.xyz/dev/getting-started/add-wallet-connection-to-your-react-app).

## Step 2: Get NFTs from Store

In this example, we utilized react-query to manage the loading state when retrieving NFTs from the contract via the storeNfts method. This method returns all NFTs from the specified contract, allowing you to display them in the user interface.
In this example, we utilized react-query to manage the loading state when retrieving NFTs from the contract via the storeNfts method. This method returns all listed NFTs from the specified contract, allowing you to display them in the user interface.

```ts
// src/hooks/useStoreNfts.ts
Expand Down Expand Up @@ -215,4 +215,4 @@ NEXT_PUBLIC_AFFILIATE_ACCOUNT=your_near_account.near
- Support: [Join the Telegram](https://tg.me/mintdev)
- Twitter: [@mintbase](https://twitter.com/mintbase)

<img src="https://i.imgur.com/DPWBh8C.png" alt="detail_image" width="0" />
<img src="https://i.imgur.com/DPWBh8C.png" alt="detail_image" width="0" />

0 comments on commit 2e80538

Please sign in to comment.