Merge branch 'new-CounterFire' of http://git.kingsome.cn/huangjinming/CounterFireGames into new-CounterFire

This commit is contained in:
yuyongdong 2024-07-03 18:57:11 +08:00
commit 8d532cc92e

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