{"id":24667994,"url":"https://github.com/vvizardev/auction-smart-contract","last_synced_at":"2026-01-28T20:03:11.382Z","repository":{"id":254010182,"uuid":"822935123","full_name":"vvizardev/auction-smart-contract","owner":"vvizardev","description":"auction-smart-contract : This is the auction project that users made their bids and the highest bidder(winner) will be receive the NFT.","archived":false,"fork":false,"pushed_at":"2024-10-05T19:15:26.000Z","size":54,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-20T13:37:17.955Z","etag":null,"topics":["anchor","auction","nft","rust","smart-contract","solana"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/vvizardev.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-02T05:54:43.000Z","updated_at":"2024-10-24T16:09:47.000Z","dependencies_parsed_at":"2024-08-20T22:07:49.848Z","dependency_job_id":"120760e1-404c-4987-9634-3d4c887189ce","html_url":"https://github.com/vvizardev/auction-smart-contract","commit_stats":null,"previous_names":["solkeen/auction-smart-contract","wizasol/auction-smart-contract","vvizardev/auction-smart-contract"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vvizardev/auction-smart-contract","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvizardev%2Fauction-smart-contract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvizardev%2Fauction-smart-contract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvizardev%2Fauction-smart-contract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvizardev%2Fauction-smart-contract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vvizardev","download_url":"https://codeload.github.com/vvizardev/auction-smart-contract/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvizardev%2Fauction-smart-contract/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28850474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T15:15:36.453Z","status":"ssl_error","status_checked_at":"2026-01-28T15:15:13.020Z","response_time":57,"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":["anchor","auction","nft","rust","smart-contract","solana"],"created_at":"2025-01-26T08:25:17.854Z","updated_at":"2026-01-28T20:03:11.365Z","avatar_url":"https://github.com/vvizardev.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# auction-smart-contract\nThis is the auction project that users made their bids and the highest bidder(winner) will be receive the NFT.\n\n\u003ch4\u003e 📞 Cᴏɴᴛᴀᴄᴛ ᴍᴇ Oɴ ʜᴇʀᴇ: 👆🏻 \u003c/h4\u003e\n\n\u003cp\u003e \n    \u003ca href=\"mailto:nakao95911@gmail.com\" target=\"_blank\"\u003e\n        \u003cimg alt=\"Email\"\n        src=\"https://img.shields.io/badge/Email-00599c?style=for-the-badge\u0026logo=gmail\u0026logoColor=white\"/\u003e\n    \u003c/a\u003e\n     \u003ca href=\"https://x.com/_wizardev\" target=\"_blank\"\u003e\u003cimg alt=\"Twitter\"\n        src=\"https://img.shields.io/badge/Twitter-000000?style=for-the-badge\u0026logo=x\u0026logoColor=white\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://discordapp.com/users/471524111512764447\" target=\"_blank\"\u003e\u003cimg alt=\"Discord\"\n        src=\"https://img.shields.io/badge/Discord-7289DA?style=for-the-badge\u0026logo=discord\u0026logoColor=white\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://t.me/wizardev\" target=\"_blank\"\u003e\u003cimg alt=\"Telegram\"\n        src=\"https://img.shields.io/badge/Telegram-26A5E4?style=for-the-badge\u0026logo=telegram\u0026logoColor=white\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Features\n\n### - As the Creator of Auction\nThe NFTs will be stored in the auction address.\nWhen the `admin` creates an auction, call the `create_open_auction` function, the NFT will be sent to the PDA and the data of this auction is stored on blockchain.\n```js\npub fn create_open_auction(\n        ctx: Context\u003cCreateOpenAuction\u003e,\n        bump: u8,\n        title: String,\n        floor: u64,\n        increment: u64,\n        start_time: u64,\n        end_time: u64,\n        bidder_cap: u64,\n        token_amount: u64,\n    )\n```\n\nThe creator can reclaim NFT from the PDA if nobody buys tickets and the time exceeds the endTime of auction. \n```js\npub fn reclaim_item_open(ctx: Context\u003cReclaimItemOpen\u003e)\n```\n\nThe creator can withdraw the winning bid from the PDA.\n```js\npub fn withdraw_winning_bid_open(ctx: Context\u003cWithdrawWinningBidOpen\u003e)\n```\n\n### - As the User of Auction\nWhen users make a bid, they use this fucntion to bid.\n```js\npub fn make_open_bid(ctx: Context\u003cMakeOpenBid\u003e, amount: u64)\n```\n\nWhen users are not winners, reclaim their bid from the PDA.\n```js\npub fn reclaim_open_bid(ctx: Context\u003cReclaimOpenBid\u003e)\n```\n\n### - As the Winner of Auction\nWinners can receive the NFT from the PDA.\n```js\npub fn withdraw_item_open(ctx: Context\u003cWithdrawItemOpen\u003e)\n```\n\n## Install Dependencies\n- Install `node` and `yarn`\n- Install `ts-node` as global command\n- Confirm the solana wallet preparation: `/home/fury/.config/solana/id.json` in test case\n\n## Usage\n- Main script source for all functionality is here: `/cli/script.ts`\n- Program account types are declared here: `/cli/types.ts`\n- Idl to make the JS binding easy is here: `/cli/raffle.json`\n\nAble to test the script functions working in this way.\n- Change commands properly in the main functions of the `script.ts` file to call the other functions\n- Confirm the `ANCHOR_WALLET` environment variable of the `ts-node` script in `package.json`\n- Run `yarn ts-node`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvvizardev%2Fauction-smart-contract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvvizardev%2Fauction-smart-contract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvvizardev%2Fauction-smart-contract/lists"}