Skip to content

Create an offer -> Invalid order signature #643

Answered by granolaboy
ServantMaximus asked this question in Q&A
Discussion options

You must be logged in to vote

Hi everyone!

Was having the same problem trying to produce a valid EIP-712 signature to create a new listing in python.

My issue was that I was using old eth libs. encode_structured_data is bugged in older versions (in particular with arrays).

do this:

pip list --outdated

and if you see anything with "web3" or "eth" in its name - you need to update your libs to the latest versions. I had to remove brownie and eip712 due to version conflicts.

This is what mine looks like in the end (with the dict pretty-printed and pasted in. You can figure out how to make that dict yourself.

I'm listing a Mori Mori (contract 0x85203d271c09ea3d76688753B6f616aEF1e09B12 token id 248 erc-721) for 0.1 ETH

Replies: 4 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@onessss
Comment options

Comment options

You must be logged in to vote
2 replies
@AliMurtazaJaffery
Comment options

@AliMurtazaJaffery
Comment options

Comment options

You must be logged in to vote
4 replies
@granolaboy
Comment options

@hao0707
Comment options

@onessss
Comment options

@hao0707
Comment options

Answer selected by ryanio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants