Integrating Wallet Connect

By calling the Request Data Signing API and the Access Data Signing Request Information API, you can sign the EIP-191, EIP-712, and KIP-97 of the child address. You can integrate Wallet Connect in the semi-custodial wallet by using those APIs.


How to Integrate

Generally, DApp uses eth_sign(EIP-191) and eth_signTypedData(EIP-712) methods to authorize users. PK is needed to sign it, but since it is kept by Octet, clients cannot know Octet child address’ PK. Therefore, you must request signing by using the Request Data Signing API provided by Octet.

  1. DApp requests signing.
  2. Calls the Request Data Signing API.
  3. UUID returns.
  4. Calls the Access Data Signing Request Information API with the received value.
  5. Signed data returns.
  6. Responds with the signed value to DApp.