ethglobal / nfthack-support

Issue tracker for NFTHack support
5 stars 2 forks source link

Zora setBid() returns error #8

Open arthur-ver opened 3 years ago

arthur-ver commented 3 years ago

By following Zora's docs I get this error

error
// grant approval
await approveERC20(wallet, dai, zora.marketAddress, MaxUint256)

const bid = constructBid(
  dai, // currency
  Decimal.new(10).value, // amount 10*10^18
  wallet.address, // bidder address
  wallet.address, // recipient address (address to receive Media if bid is accepted)
  10 // sellOnShare
)

const tx = await zora.setBid(1, bid)

setAsk() works perfectly fine though

Any help would be greatly appreciated! This is the last piece currently missing :)