// Maker creates an order for any NFT from a collection (you can think of it as a 'bid')
// Specifically in this example, the maker will sell 1000 USDC for any NFT in the collection specificed
const v4Erc721Order = nftSwapperMaker.buildCollectionBasedOrder(
amount: "100000000000000", // 1000 USDC
// Bidding on NFT in the collection, just specify the contract address and whether its an ERC721 or ERC1155.
makerWalletAddress // Maker wallet address
const signedOrder = await nftSwapperMaker.signOrder(v4Erc721Order)
// Later, taker can sell an NFT from the specified collection, filling the bid.
const fillTx = await nftSwapperMaker.fillSignedCollectionOrder(
"11045" // Token ID from the collection to fill order with