{"id":19414023,"url":"https://github.com/0xapp123/auction-doge-rust","last_synced_at":"2026-05-06T00:06:16.052Z","repository":{"id":232096128,"uuid":"781708013","full_name":"0xapp123/auction-doge-rust","owner":"0xapp123","description":"This is the 🎲auction program and FE that users can bid with several 💵spl-tokens.","archived":false,"fork":false,"pushed_at":"2024-04-09T09:22:13.000Z","size":627,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T02:46:30.557Z","etag":null,"topics":["anchor","auction","nft","rust","solana","spl-token"],"latest_commit_sha":null,"homepage":"https://auction-doge-rust-ten.vercel.app/","language":"TypeScript","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/0xapp123.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-04-03T22:16:00.000Z","updated_at":"2024-06-06T19:43:07.000Z","dependencies_parsed_at":"2024-04-08T02:07:34.217Z","dependency_job_id":"b042fc51-9c23-4f63-8a67-e079c9ec02c3","html_url":"https://github.com/0xapp123/auction-doge-rust","commit_stats":null,"previous_names":["0xapp123/auction-doge-rust"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0xapp123/auction-doge-rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xapp123%2Fauction-doge-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xapp123%2Fauction-doge-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xapp123%2Fauction-doge-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xapp123%2Fauction-doge-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xapp123","download_url":"https://codeload.github.com/0xapp123/auction-doge-rust/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xapp123%2Fauction-doge-rust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32672688,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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","solana","spl-token"],"created_at":"2024-11-10T12:35:52.569Z","updated_at":"2026-05-06T00:06:16.038Z","avatar_url":"https://github.com/0xapp123.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tomb-Auction\nThis is the auction project that users made their bids and the highest bidder(winner) will be receive the NFT.\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\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        project_id: u16,\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xapp123%2Fauction-doge-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xapp123%2Fauction-doge-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xapp123%2Fauction-doge-rust/lists"}