From a17505de841465ac66f8eb4240a46fd55a5fd8b6 Mon Sep 17 00:00:00 2001 From: VGabriel45 Date: Tue, 15 Apr 2025 14:34:01 +0300 Subject: [PATCH 1/9] check for broken links on PR --- .github/workflows/test.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/test.yaml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 00000000..03a654c3 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,29 @@ +name: Test Broken Links + +on: + pull_request: + branches: [ master ] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + cache: 'pnpm' + + - name: Install pnpm + uses: pnpm/action-setup@v2 + with: + version: 8 + + - name: Install dependencies + run: pnpm install + + - name: Run tests + run: pnpm test \ No newline at end of file From 763049f9fef94bbf676eb2ed091d6ef2b7cab2f6 Mon Sep 17 00:00:00 2001 From: VGabriel45 Date: Tue, 15 Apr 2025 14:35:56 +0300 Subject: [PATCH 2/9] fix action --- .github/workflows/test.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 03a654c3..85219411 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -18,9 +18,7 @@ jobs: cache: 'pnpm' - name: Install pnpm - uses: pnpm/action-setup@v2 - with: - version: 8 + run: npm install -g pnpm@8 - name: Install dependencies run: pnpm install From 7494539dc1f5feea1f45c7a010c5466c8026cd9b Mon Sep 17 00:00:00 2001 From: VGabriel45 Date: Tue, 15 Apr 2025 14:44:10 +0300 Subject: [PATCH 3/9] fix action file --- .github/workflows/test.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 85219411..cff53439 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -11,17 +11,18 @@ jobs: 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 pnpm - run: npm install -g pnpm@8 - - name: Install dependencies - run: pnpm install + run: pnpm install --frozen-lockfile - name: Run tests run: pnpm test \ No newline at end of file From 5b64b61bd867250e851594c793e9903bddeec6b1 Mon Sep 17 00:00:00 2001 From: VGabriel45 Date: Tue, 15 Apr 2025 14:47:01 +0300 Subject: [PATCH 4/9] fix action file --- .github/workflows/test.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index cff53439..14d7db34 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -22,7 +22,12 @@ jobs: cache: 'pnpm' - name: Install dependencies - run: pnpm install --frozen-lockfile + run: | + if [ -f "pnpm-lock.yaml" ]; then + pnpm install --frozen-lockfile + else + pnpm install + fi - name: Run tests run: pnpm test \ No newline at end of file From ca144cea352d16f1f03efb0e9a60900f7478367d Mon Sep 17 00:00:00 2001 From: VGabriel45 Date: Tue, 15 Apr 2025 14:48:30 +0300 Subject: [PATCH 5/9] fix action file --- .github/workflows/test.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 14d7db34..a624322c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -22,12 +22,7 @@ jobs: cache: 'pnpm' - name: Install dependencies - run: | - if [ -f "pnpm-lock.yaml" ]; then - pnpm install --frozen-lockfile - else - pnpm install - fi + run: pnpm install - name: Run tests run: pnpm test \ No newline at end of file From cff5910b59c7a566811ee3c4b3f6faa6e4db6c01 Mon Sep 17 00:00:00 2001 From: VGabriel45 Date: Tue, 15 Apr 2025 15:45:47 +0300 Subject: [PATCH 6/9] rename action --- .github/workflows/{test.yaml => pnpm-broken-links.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{test.yaml => pnpm-broken-links.yaml} (100%) diff --git a/.github/workflows/test.yaml b/.github/workflows/pnpm-broken-links.yaml similarity index 100% rename from .github/workflows/test.yaml rename to .github/workflows/pnpm-broken-links.yaml From 32e288b4472068dc4f9ec7c5fa9003644353d34f Mon Sep 17 00:00:00 2001 From: RichardIrala <93644394+RichardIrala@users.noreply.github.com> Date: Tue, 15 Apr 2025 08:10:45 -0600 Subject: [PATCH 7/9] 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 --- sdk/marketplace-sdk/getting-started.mdx | 6 +- .../hooks/marketplace-data-hooks.mdx | 4 +- sdk/marketplace-sdk/hooks/overview.mdx | 18 -- sdk/marketplace-sdk/overview.mdx | 18 +- .../custom-marketplace/overview.mdx | 2 +- .../marketplaces/white-label-marketplace.mdx | 181 ------------------ .../white-label-marketplace/guide.mdx | 2 - 7 files changed, 19 insertions(+), 212 deletions(-) delete mode 100644 sdk/marketplace-sdk/hooks/overview.mdx delete mode 100644 solutions/marketplaces/white-label-marketplace.mdx diff --git a/sdk/marketplace-sdk/getting-started.mdx b/sdk/marketplace-sdk/getting-started.mdx index 8cb591df..e174b7e0 100644 --- a/sdk/marketplace-sdk/getting-started.mdx +++ b/sdk/marketplace-sdk/getting-started.mdx @@ -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 diff --git a/sdk/marketplace-sdk/hooks/marketplace-data-hooks.mdx b/sdk/marketplace-sdk/hooks/marketplace-data-hooks.mdx index a1f9eb7d..f59d583e 100644 --- a/sdk/marketplace-sdk/hooks/marketplace-data-hooks.mdx +++ b/sdk/marketplace-sdk/hooks/marketplace-data-hooks.mdx @@ -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, diff --git a/sdk/marketplace-sdk/hooks/overview.mdx b/sdk/marketplace-sdk/hooks/overview.mdx deleted file mode 100644 index 9adeb7bc..00000000 --- a/sdk/marketplace-sdk/hooks/overview.mdx +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: "Marketplace SDK Hooks" -description: 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. -sidebarTitle: Overview ---- - -It includes hooks for both retrieving marketplace data and performing actions such as buying, selling, creating, and accepting offers. - -Refer to the documentation to learn how to use them and maximize your integration. - - - - Collection of GET hooks for retrieving key Marketplace data. Useful for fetching and managing Marketplace information in your UI - - - Manage listings, offers, and purchases by integrating Marketplace Actions. - - \ No newline at end of file diff --git a/sdk/marketplace-sdk/overview.mdx b/sdk/marketplace-sdk/overview.mdx index ae3ef71e..a31acc08 100644 --- a/sdk/marketplace-sdk/overview.mdx +++ b/sdk/marketplace-sdk/overview.mdx @@ -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 + Learn about the prerequisites and setup required to work with the Marketplace SDK. - - - Explore how to integrate your marketplace using our available hooks. -## 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). \ No newline at end of file + + + Collection of GET hooks for retrieving key Marketplace data. Useful for fetching and managing Marketplace information in your UI + + + Manage listings, offers, and purchases by integrating Marketplace Actions. + + \ No newline at end of file diff --git a/solutions/marketplaces/custom-marketplace/overview.mdx b/solutions/marketplaces/custom-marketplace/overview.mdx index c2729ce5..d875c15e 100644 --- a/solutions/marketplaces/custom-marketplace/overview.mdx +++ b/solutions/marketplaces/custom-marketplace/overview.mdx @@ -16,7 +16,7 @@ The officially maintained contract address is `0xfdb42A198a932C8D3B506Ffa5e855bC ### Getting started - + A starter Marketplace boilerplate, powered by Sequence. diff --git a/solutions/marketplaces/white-label-marketplace.mdx b/solutions/marketplaces/white-label-marketplace.mdx deleted file mode 100644 index b673ff70..00000000 --- a/solutions/marketplaces/white-label-marketplace.mdx +++ /dev/null @@ -1,181 +0,0 @@ ---- - -title: "Launch your White-label Marketplace" -description: Sequence Builder offers game builders a white-label marketplace that can be easily customized and integrated into their game experience without any coding experience needed. ---- - - - - -Sequence Builder provides game builders with a white-label marketplace that can be launched in seconds. With Builder, you can customize your marketplace and integrate it directly into your game experience, all with no-coding experience necessary. Watch a [video to get started](/solutions/marketplaces/white-label-marketplace/video-walkthrough#watch-a-marketplace-be-launched-in-minutes), or, follow [several steps to launch a marketplace](/solutions/marketplaces/white-label-marketplace/guide). - -## Try it out - - -Get started quickly at [Sequence Builder](https://sequence.build/) to launch your marketplace. - - -##### Why would I want my own Marketplace for my web3 game? - -Builder gives you full control over everything in your marketplace, from enforcing royalties (with ERC-2981) to -choosing the best trading mechanism for your community, setting fees, and more. -You can also aggregate listings from major platforms like OpenSea or LooksRare, providing you with the benefit of existing liquidity without relinquishing control of the gaming experience. - -## Watch a Marketplace be Launched in Minutes - - @@ -49,7 +49,7 @@ Earn more revenue, create sustainable economic models, allow users to pay with n 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. - + Instead of starting from scratch, use our starter marketplace as a template to build your own custom marketplace. From 4e0aa849fac5c040e63e1995f5adf4bdf9b5170f Mon Sep 17 00:00:00 2001 From: Richard Miguel Irala Date: Tue, 15 Apr 2025 11:38:46 -0300 Subject: [PATCH 9/9] Update a link --- .../monetization/secondary-sales/building-a-marketplace.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/unity/monetization/secondary-sales/building-a-marketplace.mdx b/sdk/unity/monetization/secondary-sales/building-a-marketplace.mdx index 767df524..d1e266fa 100644 --- a/sdk/unity/monetization/secondary-sales/building-a-marketplace.mdx +++ b/sdk/unity/monetization/secondary-sales/building-a-marketplace.mdx @@ -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. -Before starting, don't forget to [configure your marketplace in the Builder](/solutions/marketplaces/custom-marketplace/overview). +Before starting, don't forget to [configure your marketplace in the Builder](/solutions/marketplaces/white-label-marketplace/guide#launch-a-marketplace). ## 1. Read Listings