opensea-js icon indicating copy to clipboard operation
opensea-js copied to clipboard

SDK V4+ createBuyOrder() Error

Open MetalGear-cmd opened this issue 4 years ago • 9 comments

"The method eth_signTypedData_v4 does not exist/is not available" when trying to use createBuyOrder() in sdk version 4.0.2 when using the @0xsubprovider.

I also get the error Getting "Cannot read property 'EIP712Domain' error with @truffle hd wallet provider". When trying to use creatheBuyOrders() in sdk v4+.

And the same code starts working when using createBuyOrdersLegacyWyvern().

MetalGear-cmd avatar Jun 21 '22 11:06 MetalGear-cmd

Duplicate issue https://github.com/ProjectOpenSea/opensea-js/issues/588

0R61 avatar Jun 21 '22 12:06 0R61

Btw, with metamask provider it throws next error: "Error: API Error 400: You cannot access body after reading from request's data stream" using sdk v4

vladopaets avatar Jun 22 '22 11:06 vladopaets

@vladopaets https://github.com/ProjectOpenSea/opensea-js/issues/565

plondon avatar Jun 22 '22 18:06 plondon

@plondon, thanks

vladopaets avatar Jun 23 '22 07:06 vladopaets

No fix for this yet?

MetalGear-cmd avatar Jun 23 '22 13:06 MetalGear-cmd

https://github.com/0R61/pwned-hdwalletprovider This supports the signTypedData_v4

0R61 avatar Jun 23 '22 17:06 0R61

https://github.com/0R61/pwned-hdwalletprovider This supports the signTypedData_v4

i did it but i get this error when try to list an item:

Error: API Error 400: You provided an invalid order type: OrderType.FULL_OPEN, please set it to be FULL_RESTRICTED or PARTIAL_RESTRICTED

Ghijo1 avatar Jun 23 '22 22:06 Ghijo1

https://github.com/0R61/pwned-hdwalletprovider This supports the signTypedData_v4

i did it but i get this error when try to list an item:

Error: API Error 400: You provided an invalid order type: OrderType.FULL_OPEN, please set it to be FULL_RESTRICTED or PARTIAL_RESTRICTED

Please upgrade to version 4.0.3. That should fix this error.

Going to close this but feel free to open a new issue or just ping me here if you're still experience the issue

jtaaa avatar Jun 23 '22 22:06 jtaaa

https://github.com/0R61/pwned-hdwalletprovider This supports the signTypedData_v4

i did it but i get this error when try to list an item:

Error: API Error 400: You provided an invalid order type: OrderType.FULL_OPEN, please set it to be FULL_RESTRICTED or PARTIAL_RESTRICTED

Upgrade to the latest version of OpenSea

0R61 avatar Jun 24 '22 00:06 0R61