# Marketplace

### Steps to setup Marketplace NPM inside any project:

Before intergating the marketplace, we will need to integrate [LYNC Wallet SDK](https://www.npmjs.com/package/lync-wallet-sdk)

Install Wallet NPM Package: `npm i lync-wallet-sdk` and set up wallet integration as [mentioned here](https://www.npmjs.com/package/lync-wallet-sdk)

Once done, We are ready to install LYNC Marketplace NPM Package.

Install NPM Package: `npm install @lync/marketplace`

#### Step 1: Create a .env file to store your private keys

Example .env file:&#x20;

```
REACT_APP_ALCHEMY_KEY=""
```

### Custom Hooks

* [useAllCollectionNFT](https://lync.gitbook.io/lync/npm-packages/marketplace/hook-useallcollectionnft)
* [useAllBuyNFT](https://lync.gitbook.io/lync/npm-packages/marketplace/hook-useallbuynft)
* [useAllOwnerNFT](https://lync.gitbook.io/lync/npm-packages/marketplace/hook-useallownernft)
* [useNFTDetails](https://lync.gitbook.io/lync/npm-packages/marketplace/hook-usenftdetails)
* [useAllNFTForRent](https://lync.gitbook.io/lync/npm-packages/marketplace/hook-useallnftforrent)

### List of chains

* ChainConfig.MATIC\_MUMBAI&#x20;
* ChainConfig.ETH\_GOERLI&#x20;
* ChainConfig.ARB\_GOERLI
