17 stable releases

1.4.1 Mar 31, 2023
1.3.5 Dec 22, 2022
1.3.2 Nov 6, 2022
1.2.3 Jul 18, 2022
1.1.2 Mar 21, 2022

#2186 in Magic Beans


Used in 4 crates

Custom license

250KB
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

~41MB
~691K SLoC