Skip to main content
This guide describes listing an NFT on the OpenSea exchange with the Stardust API/SDK, OpenSea API/SDK, and the ethers library. Follow the OpenSeaSDK Docs to perform operations other than creating a listing.

Prerequisites

  • Node.js installed on your system
  • Stardust API key and wallet Id or profile Id
  • OpenSea API Key
  • dotenv, ethers v6, and opensea-js libraries

Setup

  1. Install Dependencies First, install the OpenSea SDK
  2. Create a .env file

Code Example

Create a listing on OpenSeaSDK with a Stardust wallet:
ethers v6