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
, andopensea-js
libraries
Setup
-
Install Dependencies
First, install the OpenSea SDK
-
Create a
.env
file
Code Example
Create a listing onOpenSeaSDK
with a Stardust wallet:
ethers v6