Skip to content
    Back to all Bounties

    Earn 9,900 ($99.00)

    Time Remainingdue 1 year ago
    Completed

    Add automatic refund functionality to Solana auction program (Rust)

    MilesPeyton
    MilesPeyton
    Posted 1 year ago
    This Bounty has been completed!
    @MilesPeyton's review of @nox000
    5.0
    Average Rating
    Communication 5/5, Quality 5/5, Timeliness 5/5

    Bounty Description

    Problem Description

    I'm working with an existing open source auction Rust program for Solana. Currently, Sol is held in escrow and the user manually has to withdraw their Sol if they get outbid. This is not good UX, so I'd like you to modify the open auction (aka English auction) bid function so that if there is a previous bid, the previous bidder gets refunded in the same transaction as the next bid.

    This is the program I'm starting from, I expect most of your changes will be in the make_open_bid function in lib.rs:
    https://github.com/udbhav1/solana-auctionhouse

    Acceptance Criteria

    The program needs to compile and pass tests, ideally you would write a few new tests to demonstrate that the refunding functionality works.

    Copyright © 2025 Replit, Inc. All rights reserved.
    • twitter
    • tiktok
    • instagram
    • facebook

    Replit

    Programming languages

    • Python
    • JavaScript
    • TypeScript
    • Node.js
    • Nix
    • HTML, CSS, JS
    • C++
    • Golang