Skip to content

Commit fefe86a

Browse files
Update Custom Marketplace and Marketplace SDK docs (#72)
Remove Marketplace SDK hooks overview page Improve Marketplace SDK installation instructions Fix cards links Extend Marketplace SDK overview with Getting Started and hooks cards Co-authored-by: James Lawton <jlaw@horizon.io>
1 parent 47e65af commit fefe86a

7 files changed

Lines changed: 19 additions & 212 deletions

File tree

sdk/marketplace-sdk/getting-started.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ Otherwise, we will walk you through the process of installing Marketplace SDK, i
1313
Marketplace SDK is modular, allowing you to install only the necessary packages. To get started, install the `@0xsequence/marketplace-sdk` core package, as well as install other dependencies necessary dependencies.
1414

1515
```bash
16-
npm install @0xsequence/kit @0xsequence/kit-checkout @0xsequence/kit-wallet @0xsequence/marketplace-sdk @0xsequence/design-system@^1 @0xsequence/network wagmi ethers@^6 viem 0xsequence @tanstack/react-query @tanstack/react-query-devtools @legendapp/state framer-motion@^8.5.2 pino-pretty
16+
npm install @0xsequence/connect @0xsequence/checkout @0xsequence/wallet-widget @0xsequence/marketplace-sdk @0xsequence/design-system @0xsequence/network @0xsequence/indexer @0xsequence/metadata wagmi ethers@^6 viem 0xsequence @tanstack/react-query @tanstack/react-query-devtools @legendapp/state framer-motion pino-pretty
1717
# or
18-
pnpm add @0xsequence/kit @0xsequence/kit-checkout @0xsequence/kit-wallet @0xsequence/marketplace-sdk @0xsequence/design-system@^1 @0xsequence/network wagmi ethers@^6 viem 0xsequence @tanstack/react-query @tanstack/react-query-devtools @legendapp/state framer-motion@^8.5.2 pino-pretty
18+
pnpm add @0xsequence/connect @0xsequence/checkout @0xsequence/wallet-widget @0xsequence/marketplace-sdk @0xsequence/design-system @0xsequence/network @0xsequence/indexer @0xsequence/metadata wagmi ethers@^6 viem 0xsequence @tanstack/react-query @tanstack/react-query-devtools @legendapp/state framer-motion pino-pretty
1919
# or
20-
yarn add @0xsequence/kit @0xsequence/kit-checkout @0xsequence/kit-wallet @0xsequence/marketplace-sdk @0xsequence/design-system@^1 @0xsequence/network wagmi ethers@^6 viem 0xsequence @tanstack/react-query @tanstack/react-query-devtools @legendapp/state framer-motion@^8.5.2 pino-pretty
20+
yarn add @0xsequence/connect @0xsequence/checkout @0xsequence/wallet-widget @0xsequence/marketplace-sdk @0xsequence/design-system @0xsequence/network @0xsequence/indexer @0xsequence/metadata wagmi ethers@^6 viem 0xsequence @tanstack/react-query @tanstack/react-query-devtools @legendapp/state framer-motion pino-pretty
2121
```
2222

2323
# Setting Up your Dapp

sdk/marketplace-sdk/hooks/marketplace-data-hooks.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,8 @@ import { OrderSide } from '@0xsequence/marketplace-sdk';
298298
import { useCountOfCollectables } from '@0xsequence/marketplace-sdk/react';
299299

300300
const countOfCollectables = useCountOfCollectables({
301-
chainId: String(chainId),
302-
collectionAddress: collectionId,
301+
chainId,
302+
collectionAddress,
303303
side: OrderSide.listing,
304304
filter: {
305305
searchText: text,

sdk/marketplace-sdk/hooks/overview.mdx

Lines changed: 0 additions & 18 deletions
This file was deleted.

sdk/marketplace-sdk/overview.mdx

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,23 @@ sidebarTitle: Overview
66

77
Why use the Marketplace SDK? It provides a seamless way to integrate Sequence's marketplace with minimal effort. Leverage its powerful hooks to retrieve marketplace data and execute essential actions such as listings, purchases, offers, and offer acceptance.
88

9+
# Getting Started
10+
911
<CardGroup>
1012
<Card title="Getting Started" icon="play" href="/sdk/marketplace-sdk/getting-started">
1113
Learn about the prerequisites and setup required to work with the Marketplace SDK.
12-
</Card>
13-
<Card title="Hooks" icon="code" href="/sdk/marketplace-sdk/hooks">
14-
Explore how to integrate your marketplace using our available hooks.
1514
</Card>
1615
</CardGroup>
1716

18-
## Next Steps
17+
# Marketplace SDK Hooks
18+
19+
Marketplace SDK provides a collection of optimized hooks to seamlessly and efficiently integrate marketplace functionality into your applications. These hooks enable smooth and secure user experience management.
1920

20-
Ready to integrate Marketplace SDK into your application? Check out our [Quickstart guide](/sdk/marketplace-sdk/getting-started).
21+
<CardGroup>
22+
<Card title="Marketplace Data hooks" icon="code" href="/sdk/marketplace-sdk/hooks/marketplace-data-hooks">
23+
Collection of GET hooks for retrieving key Marketplace data. Useful for fetching and managing Marketplace information in your UI
24+
</Card>
25+
<Card title="Marketplace Actions" icon="code" href="/sdk/marketplace-sdk/hooks/marketplace-actions">
26+
Manage listings, offers, and purchases by integrating Marketplace Actions.
27+
</Card>
28+
</CardGroup>

solutions/marketplaces/custom-marketplace/overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The officially maintained contract address is `0xfdb42A198a932C8D3B506Ffa5e855bC
1616

1717
### Getting started
1818
<CardGroup cols={2}>
19-
<Card title="Starter Boilerplate" icon="play" href="/solutions/marketplaces/custom-marketplace/starter">
19+
<Card title="Starter Boilerplate" icon="play" href="/solutions/marketplaces/custom-marketplace/getting-started">
2020
A starter Marketplace boilerplate, powered by Sequence.
2121
</Card>
2222
<Card title="End-2-End Guide" icon="book" href="/guides/custom-marketplace">

solutions/marketplaces/white-label-marketplace.mdx

Lines changed: 0 additions & 181 deletions
This file was deleted.

solutions/marketplaces/white-label-marketplace/guide.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,6 @@ Update the header logo of the marketplace at the top of the screen.
146146

147147
Update the favicon logo for the website to be displayed in the tab of the browser.
148148

149-
Add a default or custom font
150-
151149
</Accordion>
152150

153151
<Accordion title="Advanced">

0 commit comments

Comments
 (0)