Skip to content

Commit

Permalink
chore: provide the list of wallets that support signMessage (#1717)
Browse files Browse the repository at this point in the history
Co-authored-by: gagdiez <[email protected]>
  • Loading branch information
kujtimprenkuSQA and gagdiez authored Feb 9, 2024
1 parent acb01a4 commit 7fa16bb
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions docs/2.develop/integrate/backend.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,16 @@ Here we use [crypto.randomBytes](https://nodejs.org/api/crypto.html#crypto_crypt
:::

### 2. Ask the User to Sign the Challenge
As of today only [Meteor Wallet](https://meteorwallet.app) supports the `signMessage` method needed to sign the challenge. However, we expect more wallets to support this method in the future.
The `signMessage` method needed to sign the challenge is supported by these wallets:
- Meteor Wallet
- Here Wallet
- Near Snap
- Nightly Wallet
- WELLDONE Wallet
- NearMobileWallet
- MyNearWallet
- Sender


The message that the user needs to sign contains 4 fields:
- Message: The message that the user is signing.
Expand Down Expand Up @@ -110,4 +119,4 @@ async function fetch_all_user_keys({ accountId }) {
}

module.exports = { authenticate, verifyFullKeyBelongsToUser, verifySignature };
```
```

0 comments on commit 7fa16bb

Please sign in to comment.