input-output-hk / js-cardano-wasm

various cardano javascript using wasm bindings
MIT License
31 stars 21 forks source link

Add signing tx with redemption key & External Key #60

Closed SebastienGllmt closed 5 years ago

SebastienGllmt commented 5 years ago

looks like TransactionFinalized only allows you to sign with a PrivateKey but I need to sign with a PrivateRedeemKey

The added a new function to do this which mirrors the behavior of the old API https://github.com/input-output-hk/js-cardano-wasm/blob/master/wallet-wasm/src/lib.rs#L1355

Also in the hardware wallet case, we do not have access to the private key at all. Instead, we receive the PublicKey and the TransactionSignature from the device.

NicolasDP commented 5 years ago

super seeded by #62