Open AlexBHarley opened 5 years ago
./keys
is just a nodejs compatible file of cosmos-keys
that I have made. Didn't want to bother setting up a tsc flow
I can look more into this, but you replicate a lot of the logic of https://github.com/luniehq/cosmos-api which you may want to fork instead of creating all the structures and signing logic again.
Have run into multiple issues with this library, namely
signature verification failed; verify correct account sequence and chain-id
but I thought it'd be best to set up a test repo to see what I'm doing wrong.I'm running the cosmos sdk application tutorial https://github.com/cosmos/sdk-application-tutorial and I have edited the
handleMsgBuyName
function insdk-application-tutorial/x/nameservice/handler.go
to look like this
My script then looks like this
Is there something obvious I am doing wrong?