Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zora setBid() returns error #8

Open
arthur-ver opened this issue Mar 21, 2021 · 0 comments
Open

Zora setBid() returns error #8

arthur-ver opened this issue Mar 21, 2021 · 0 comments

Comments

@arthur-ver
Copy link

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant