{"id":28897362,"url":"https://github.com/whisdev/sui-launchpad-smart-contract","last_synced_at":"2026-02-02T00:35:11.168Z","repository":{"id":275709901,"uuid":"889589816","full_name":"whisdev/sui-launchpad-smart-contract","owner":"whisdev","description":"Smart contract package for creating, minting, and auctioning NFTs on the Sui blockchain, including modules for NFT management, auction bidding, and comprehensive testing","archived":false,"fork":false,"pushed_at":"2024-11-16T18:01:42.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-21T22:25:30.783Z","etag":null,"topics":["auction","launchpad","minting","nft","smartcontract","sui"],"latest_commit_sha":null,"homepage":"","language":"Move","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/whisdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-16T18:00:26.000Z","updated_at":"2025-02-01T21:04:37.000Z","dependencies_parsed_at":"2025-02-04T06:32:47.128Z","dependency_job_id":"c436367c-9c4e-411e-b60b-349852d7221b","html_url":"https://github.com/whisdev/sui-launchpad-smart-contract","commit_stats":null,"previous_names":["ptcbink/sui-launchpad-smart-contract","whisdev/sui-launchpad-smart-contract"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/whisdev/sui-launchpad-smart-contract","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whisdev%2Fsui-launchpad-smart-contract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whisdev%2Fsui-launchpad-smart-contract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whisdev%2Fsui-launchpad-smart-contract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whisdev%2Fsui-launchpad-smart-contract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whisdev","download_url":"https://codeload.github.com/whisdev/sui-launchpad-smart-contract/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whisdev%2Fsui-launchpad-smart-contract/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28997026,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T23:10:54.274Z","status":"ssl_error","status_checked_at":"2026-02-01T23:10:47.298Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["auction","launchpad","minting","nft","smartcontract","sui"],"created_at":"2025-06-21T06:08:03.639Z","updated_at":"2026-02-02T00:35:11.162Z","avatar_url":"https://github.com/whisdev.png","language":"Move","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NFT Auction Smart Contract for Sui Blockchain\n\nThis repository contains a smart contract package for creating and auctioning Non-Fungible Tokens (NFTs) on the Sui blockchain. The package includes modules for NFT creation, auction management, and comprehensive testing.\n\n## Table of Contents\n\n1. [Overview](#overview)\n2. [Project Structure](#project-structure)\n3. [Prerequisites](#prerequisites)\n4. [Installation](#installation)\n5. [Usage](#usage)\n6. [Deployment](#deployment)\n7. [Testing](#testing)\n8. [Contributing](#contributing)\n\n## Overview\n\nThis smart contract package allows users to:\n\n- Create and mint NFTs\n- Transfer NFT ownership\n- Create auctions for NFTs\n- Place bids on auctions\n- End auctions and transfer NFTs to winners\n- Automatically return NFTs to sellers if no bids are placed\n\nThe contract is written in the Move language for the Sui blockchain, ensuring secure and efficient operations.\n\n## Project Structure\n\nThe project consists of three main modules:\n\n1. `nft.move`: Handles NFT creation, minting, and transfers.\n2. `auction.move`: Manages the auction process, including creation, bidding, and completion.\n3. `auction_tests.move`: Contains comprehensive tests for both the NFT and auction functionalities.\n\n## Prerequisites\n\nBefore you begin, ensure you have the following installed:\n\n- [Sui CLI](https://docs.sui.io/build/install)\n- [Move language](https://github.com/move-language/move)\n- [Git](https://git-scm.com/downloads)\n\n## Installation\n\n1. Clone the repository:\n\n```\ngit clone https://github.com/PGOpenda/nft_auction.git\n```\n\n```\ncd nft-auction-sui\n```\n\n2. Build the project:\n\n```\nsui move build\n```\n\n## Usage\n\n#### Creating an NFT\n\nTo create an NFT, use the `mint` function in the `nft` module:\n```\nnft::mint(name, description, image_url)\n```\nOne can also transfer the NFT to another if they wished with `transfer_nft` function in the same module:\n```\nnft::transfer_nft(nft,recipient)\n```\n\n#### Creating an Auction\nTo start an auction for an NFT, use the `create_auction` function in the auction module. The duration is in milliseconds:\n```\nauction::create_auction(nft, min_bid, duration, clock)\n```\n\n#### Placing a Bid \nTo place a bid on an auction, use the `place_bid` function in the auction module:\n```\nauction::place_bid(auction, clock, amount, ctx)\n```\n\n#### Ending an Auction\nTo end an auction, use the `end_auction` function in the auction module:\n```\nauction::end_auction(auction, clock, ctx)\n```\n\n#### Claiming an NFT\nThe winner can claim their NFT using the claim_nft function in the auction module:\n```\nauction::claim_nft(auction, ctx)\n```\n\n## Deployment\nTo deploy the package to the Sui network, we use the following commands in a command line interface:\n\n- Build the package:\n  ```\n  sui move build\n  ```\n- Deploy the package:\n    ```\n    sui client publish --gas-budget 10000000\n    ```   \n- Note the package ID from the output. You'll need this to interact with the deployed contract.\n- You can also use [Suiscan](https://suiscan.xyz/mainnet/home) which provides an interface to interact with the package once deployed.\n\n## Testing\nRun the tests using the following commands in your commad line interface:\n```\nsui move test\n```\nThis will execute all tests in the `nft_auction_tests` module, ensuring the correct functionality of both the NFT and auction features.\n\n## Contributing\nContributions are welcome! Please feel free to submit a Pull Request.🙂 👍\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhisdev%2Fsui-launchpad-smart-contract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhisdev%2Fsui-launchpad-smart-contract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhisdev%2Fsui-launchpad-smart-contract/lists"}