Closed tarcieri closed 4 years ago
Initial functionality is in place and confirmed working, so I'm going to go ahead and merge.
There's a few small things I'd like to fix up before an initial release, however.
Ended up moving this over here and renaming it to stdtx
: https://github.com/iqlusioninc/crates/tree/develop/stdtx
This PR adds a new crate in the KMS workspace called
cosmos-stdtx
. The goal is to support generalized transaction signing across any Tendermint blockchain which uses the Cosmos SDK's StdTx format without requiring code changes in the KMS, in service of implementing #386: Cosmos transaction signing support (backed by KMS-managed keys).To accomplish this, the crate defines a TOML-based schema definition language which describes the fields of the
Msg
type used in a particularStdTx
, along with the Amino name(space) for a givenStdTx
. (In a future update which potentially replaces Amino with Protos, this could be replaced with a Protobuf schema definition).