Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/pnpm-broken-links.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Test Broken Links

on:
pull_request:
branches: [ master ]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v2
with:
version: 8

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- name: Run tests
run: pnpm test
8 changes: 4 additions & 4 deletions sdk/marketplace-sdk/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ Otherwise, we will walk you through the process of installing Marketplace SDK, i
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.

```bash
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
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
# or
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
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
# or
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
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
```

# Setting Up your Dapp
Expand Down Expand Up @@ -272,7 +272,7 @@ return (

<Step title="Done">

Congratulations! Now you’re ready to explore the available hooks in our Marketplace SDK. Interested? Check out the [Marketplace SDK hooks](/sdk/marketplace-sdk/hooks/overview) documentation to learn more.
Congratulations! Now you’re ready to explore the available hooks in our Marketplace SDK. Interested? Check out the [Marketplace SDK hooks](/sdk/marketplace-sdk/overview#marketplace-sdk-hooks) documentation to learn more.

</Step>

Expand Down
4 changes: 2 additions & 2 deletions sdk/marketplace-sdk/hooks/marketplace-data-hooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,8 @@ import { OrderSide } from '@0xsequence/marketplace-sdk';
import { useCountOfCollectables } from '@0xsequence/marketplace-sdk/react';

const countOfCollectables = useCountOfCollectables({
chainId: String(chainId),
collectionAddress: collectionId,
chainId,
collectionAddress,
side: OrderSide.listing,
filter: {
searchText: text,
Expand Down
18 changes: 0 additions & 18 deletions sdk/marketplace-sdk/hooks/overview.mdx

This file was deleted.

18 changes: 13 additions & 5 deletions sdk/marketplace-sdk/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,23 @@ sidebarTitle: Overview

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.

# Getting Started

<CardGroup>
<Card title="Getting Started" icon="play" href="/sdk/marketplace-sdk/getting-started">
Learn about the prerequisites and setup required to work with the Marketplace SDK.
</Card>
<Card title="Hooks" icon="code" href="/sdk/marketplace-sdk/hooks">
Explore how to integrate your marketplace using our available hooks.
</Card>
</CardGroup>

## Next Steps
# Marketplace SDK Hooks

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.

Ready to integrate Marketplace SDK into your application? Check out our [Quickstart guide](/sdk/marketplace-sdk/getting-started).
<CardGroup>
<Card title="Marketplace Data hooks" icon="code" href="/sdk/marketplace-sdk/hooks/marketplace-data-hooks">
Collection of GET hooks for retrieving key Marketplace data. Useful for fetching and managing Marketplace information in your UI
</Card>
<Card title="Marketplace Actions" icon="code" href="/sdk/marketplace-sdk/hooks/marketplace-actions">
Manage listings, offers, and purchases by integrating Marketplace Actions.
</Card>
</CardGroup>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Building a Marketplace

This doc will walk you through how we'd recommend using the Sequence SDK to build an on-chain collectibles marketplace for secondary sales.

<Tip>Before starting, don't forget to [configure your marketplace in the Builder](/solutions/marketplaces/orderbook/overview).</Tip>
<Tip>Before starting, don't forget to [configure your marketplace in the Builder](/solutions/marketplaces/white-label-marketplace/guide#launch-a-marketplace).</Tip>

## 1. Read Listings

Expand Down
2 changes: 1 addition & 1 deletion solutions/marketplaces/custom-marketplace/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The officially maintained contract address is `0xfdb42A198a932C8D3B506Ffa5e855bC

### Getting started
<CardGroup cols={2}>
<Card title="Starter Boilerplate" icon="play" href="/solutions/marketplaces/custom-marketplace/starter">
<Card title="Starter Boilerplate" icon="play" href="/solutions/marketplaces/custom-marketplace/getting-started">
A starter Marketplace boilerplate, powered by Sequence.
</Card>
<Card title="End-2-End Guide" icon="book" href="/guides/custom-marketplace">
Expand Down
181 changes: 0 additions & 181 deletions solutions/marketplaces/white-label-marketplace.mdx

This file was deleted.

2 changes: 0 additions & 2 deletions solutions/marketplaces/white-label-marketplace/guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,6 @@ Update the header logo of the marketplace at the top of the screen.

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

Add a default or custom font

</Accordion>

<Accordion title="Advanced">
Expand Down
4 changes: 2 additions & 2 deletions solutions/monetization-overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Earn more revenue, create sustainable economic models, allow users to pay with n
<Card title="Leverage your Custom Token" icon="coins" href="/solutions/marketplaces/white-label-marketplace/guide/">
List your collectibles using your custom token to increase utility and engagement.
</Card>
<Card title="Video Walkthrough" icon="video" href="/solutions/marketplaces/white-label-marketplace/video-walkthrough/">
<Card title="Video Walkthrough" icon="video" href="/solutions/marketplaces/white-label-marketplace/guide#watch-a-marketplace-be-launched-in-minutes">
Watch as a Sequence team member curates both Skyweaver and Azuki into a custom marketplace by customizing themes and features in the Sequence Builder.
</Card>
</CardGroup>
Expand All @@ -49,7 +49,7 @@ Earn more revenue, create sustainable economic models, allow users to pay with n
<Card title="Sequence Market Protocol" icon="code-branch" href="https://github.com/0xsequence/marketplace-contracts/tree/master">
Fully audited, open source, and available on all chains Sequence supports. The Sequence Market Protocol is a fully scalable and efficient marketplace protocol utilized by organizations such as Ubisoft.
</Card>
<Card title="Starter Marketplace" icon="rocket" href="/solutions/marketplaces/custom-marketplace/starter">
<Card title="Starter Marketplace" icon="rocket" href="/solutions/marketplaces/custom-marketplace/getting-started">
Instead of starting from scratch, use our starter marketplace as a template to build your own custom marketplace.
</Card>
</CardGroup>
Expand Down