{"id":18291813,"url":"https://github.com/prantadas/opensea-js","last_synced_at":"2025-08-31T09:41:28.994Z","repository":{"id":209189026,"uuid":"626492723","full_name":"PrantaDas/opensea-js","owner":"PrantaDas","description":"Integrate with OpenSea using the OpenSea-JS library for seamless interaction with the OpenSea API and smart contracts. This project provides JavaScript functions for various actions, including getting wallet balances, fetching asset details, creating offers, listing assets for sale, and more.","archived":false,"fork":false,"pushed_at":"2023-11-25T17:19:48.000Z","size":328,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T02:16:45.506Z","etag":null,"topics":["javascript","opensea","web3js"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PrantaDas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-04-11T15:17:46.000Z","updated_at":"2024-08-25T07:21:30.000Z","dependencies_parsed_at":"2023-11-25T17:53:07.033Z","dependency_job_id":null,"html_url":"https://github.com/PrantaDas/opensea-js","commit_stats":null,"previous_names":["prantadas/opensea-js"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrantaDas%2Fopensea-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrantaDas%2Fopensea-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrantaDas%2Fopensea-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrantaDas%2Fopensea-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PrantaDas","download_url":"https://codeload.github.com/PrantaDas/opensea-js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247999850,"owners_count":21031044,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","opensea","web3js"],"created_at":"2024-11-05T14:15:17.348Z","updated_at":"2025-04-09T07:52:32.290Z","avatar_url":"https://github.com/PrantaDas.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenSea-JS Integration\n\nIntegrate with OpenSea using the OpenSea-JS library for seamless interaction with the OpenSea API and smart contracts. This project provides JavaScript functions for various actions, including getting wallet balances, fetching asset details, creating offers, listing assets for sale, and more.\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [Functions](#functions)\n- [Examples](#examples)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Installation\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/PrantaDas/opensea-js.git\n    ```\n\n2. Change to the project directory:\n\n    ```bash\n    cd opensea-js-integration\n    ```\n\n3. Install dependencies:\n\n    ```bash\n    npm install or yarn\n    ```\n\n4. Create a `.env` file and add the necessary environment variables:\n\n    ```env\n    MNEMONIC_PHRASE=your_mnemonic_phrase\n    INFURA_API_KEY=your_infura_api_key\n    WALLET_ADDRESS=your_wallet_address\n    ```\n\n## Usage\n\nImport the functions you need from the `opensea.js` module and use them in your project. Make sure to handle errors appropriately.\n\n```javascript\nconst {\n    getBalance,\n    getAsset,\n    getAseetBalance,\n    getTokenBalance,\n    createOffer,\n    listAsset,\n    getCollectionStat,\n    placeOrder,\n    transferAsset,\n    getAllOrder\n} = require('./opensea/opensea');\n\n// Use the functions as needed in your application\n// Example: Get wallet balance\nconst balance = await getBalance('0x12d9c5fd9e271d2ccc3d8697ff9d2d139d534108');\nconsole.log('Wallet Balance:', balance);\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprantadas%2Fopensea-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprantadas%2Fopensea-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprantadas%2Fopensea-js/lists"}