dedotdev / dedot

Delightful JavaScript client for Polkadot & Substrate
https://dedot.dev
Apache License 2.0
30 stars 4 forks source link

Allow signer to alter the payload #160

Closed sinzii closed 1 month ago

sinzii commented 2 months ago

Latest change from PJS: https://github.com/polkadot-js/api/pull/5914

As far as what I understand, this changes is to help mitigate the situation where PJS dictating the payload to sign. The new approach allow signer to change the payload and inject, alter the data they want (e.g: changing the nonce, metadata hash, mode ...)