Merge branch 'new-CounterFire' of http://git.kingsome.cn/huangjinming/CounterFireGames into new-CounterFire
This commit is contained in:
commit
8d532cc92e
@ -95,16 +95,13 @@ export class ImtblMarket {
|
|||||||
orderSignature,
|
orderSignature,
|
||||||
currencyAmount
|
currencyAmount
|
||||||
){
|
){
|
||||||
const amount = (BigInt(currencyAmount) * 2n / 100n).toString()
|
// const amount = (BigInt(currencyAmount) * 2n / 100n).toString()
|
||||||
const order = await this.client.createListing({
|
const order = await this.client.createListing({
|
||||||
orderComponents: preparedListing.orderComponents,
|
orderComponents: preparedListing.orderComponents,
|
||||||
orderHash: preparedListing.orderHash,
|
orderHash: preparedListing.orderHash,
|
||||||
orderSignature,
|
orderSignature,
|
||||||
// Optional maker marketplace fee
|
// Optional maker marketplace fee
|
||||||
makerFees: [{
|
makerFees: [],
|
||||||
amount,
|
|
||||||
recipientAddress: makeFeeAddress, // Replace address with your own marketplace address
|
|
||||||
}],
|
|
||||||
});
|
});
|
||||||
console.log('order:', order);
|
console.log('order:', order);
|
||||||
return order
|
return order
|
||||||
|
Loading…
x
Reference in New Issue
Block a user