Eric Woolsey

Results 136 comments of Eric Woolsey

That's very helpful thank you. I'll look into that right now! > The easiest way to confirm any of this would be to find a working transaction and use cosmrs...

> I can look for one if you want. Sure if you'd like to help! That would be great.

I switched to using the legacy amino sign mode but my transactions are still failing the signature verification step.

Steps: - Tx info is serialized with serde_json and sent via apdu to the ledger. ```json { "account_number": {number}, "chain_id": {string}, "fee": { "amount": [{"amount": {number}, "denom": {string}}, ...], "gas":...

> I believe that's because they need to be serialized using the Amino binary encoding. Are you doing that? at what point in the process are you suggesting it be...

> This is why we need an example transaction which uses SignMode::LegacyAminoJson Not exactly sure the easiest way to get something like that. I'm so close to making this work...

> FWIW here's `stdtx`'s Amino JSON builder: > > https://github.com/iqlusioninc/crates/blob/0d941bae638dbb25182b69e2bdbc33ded047bc2e/stdtx/src/amino/builder.rs#L73-L106 > > > at what point in the process are you suggesting it be serialized using the Amino binary encoding?...

sounds good to me. Well thanks for your help on this issue! Really appreciate it. If you come up with any other ideas for how to get this to work...

Following up here! Did some digging and found that [tmkms](https://crates.io/crates/tmkms) uses your stdtx package to solve exactly this problem. Examples can be found in tx_signer.rs. I'll be using that as...

@tony-iqlusion you mentioned above that it might be possible to get amino support within cosmrs and I think that's exactly what my use case requires! I'll try and build around...