Skip to content
This repository has been archived by the owner on May 10, 2021. It is now read-only.

Version 1.1.1

Compare
Choose a tag to compare
@rmw2 rmw2 released this 31 Jan 21:59
· 86 commits to develop since this release
c1d7c42

Personal Sign Flow

The uPort mobile app now supports "personal sign" functionality, and there is a new message to make such a request to a uPort mobile app. For uport-connect, support for this feature includes:

  • New method Connect.requestPersonalSign(data, id, sendOpts) which creates and sends a personal sign request message to a mobile app. Its response may be listened for with Connect.onResponse as all other messages.
  • Support for personal_sign RPC call (invoked by web3.personal.sign, e.g.) in UportSubprovider, via the above method on Connect

Typed Data (ERC712) Signature Flow

The uPort mobile app also supports the new eth_signTypedData RPC call defined by the EIP712 Specification. Correspondingly, this library now includes:

  • New method Connect.requestTypeDataSignature(typedData, id, sendOpts), which creates and sends a typed data signature request message to a mobile app. Its response may be listened for with Connect.onResponse as all other messages.
  • Support for eth_signTypedData and eth_signTypedData_v3 RPC calls in UportSubprovider, via the above method on Connect