#token #auction #house #decentralized #protocols #sales #solana

mtly-auction-house

Decentralized Sales Protocol for Solana Tokens

8 stable releases

1.4.8 May 6, 2023
1.4.7 May 5, 2023
1.4.4 May 4, 2023
1.4.3 May 1, 2023
1.4.2 Apr 30, 2023

#8 in #auction

38 downloads per month
Used in mtly-reward-center

Custom license

255KB
6K SLoC


title: Auction House

Background

To know more about the Auction House program, see https://docs.metaplex.com/auction-house/definition

Running the tests

To run the tests we need to build the token-metadata first, the steps are as follows:

  • Navigate to the metaplex-program-library/token-metadata/program directory first.
  • Run cargo build-bpf --bpf-out-dir ../../test-programs/ in your terminal.
  • Once you run the builds you should see a test-programs directory in your root folder, that would contain the mpl-token-metadata.so file.
  • Navigate to the metaplex-program-library/auction-house/program direstory and run clear && RUST_LOG=debug cargo test-bpf --bpf-out-dir ../../test-programs/ 2>&1 | grep -v CounterPoint, and you should see the tests running.

lib.rs:

Metaplex Program Library: Auction House

AuctionHouse is a protocol for marketplaces to implement a decentralized sales contract. It is simple, fast and very cheap. AuctionHouse is a Solana program available on Mainnet Beta and Devnet. Anyone can create an AuctionHouse and accept any SPL token they wish.

Full docs can be found here.

Dependencies

~29–39MB
~659K SLoC