Open MichaelBornand opened 2 years ago
Hey @MichaelBornand , we're indeed relying on https://github.com/sorare/crypto#signlimitorder on our end and therefore don't have a ruby implementation. That being said, if you managed to get this work; we would love to hear from it to share it more broadly.
It looks like https://github.com/starkware-libs/starkex-resources/blob/master/crypto/starkware/crypto/signature/signature.py could be the easiest code to port to Ruby.
Hello,
I'm trying to sign the limitOrder using a ruby script but can't succeed to do it. After signing and calling AcceptSingleSaleOffer, reasult always is either a 500 error status or an error with "invalid limitOrder signature"
I've seen that the js script is using the sorare/crypto lib, which is not available on ruby, and this script is using a starkware lib to hash and sign the limitOrder, which also is not available on ruby.
RIght now, I have something like that, using the Digest and ECDSA lib on ruby to try to sign, but it is not working
is there anyway to achieve that properly with ruby ?