remove makerfee for listing

This commit is contained in:
CounterFire2023 2024-07-03 18:55:02 +08:00
parent e445febe4b
commit b1661863b4

View File

@ -95,16 +95,13 @@ export class ImtblMarket {
orderSignature,
currencyAmount
){
const amount = (BigInt(currencyAmount) * 2n / 100n).toString()
// const amount = (BigInt(currencyAmount) * 2n / 100n).toString()
const order = await this.client.createListing({
orderComponents: preparedListing.orderComponents,
orderHash: preparedListing.orderHash,
orderSignature,
// Optional maker marketplace fee
makerFees: [{
amount,
recipientAddress: makeFeeAddress, // Replace address with your own marketplace address
}],
makerFees: [],
});
console.log('order:', order);
return order