Skip to content

Conversation

@danielzhao122
Copy link
Contributor

Implement isWalletAddress for near to cryptographically verify that an address belongs to a TSS/MPC wallet using HD verification

@danielzhao122 danielzhao122 requested a review from a team as a code owner December 8, 2025 18:50
* @throws {InvalidAddressError} If address format is invalid or doesn't match derived address
* @throws {Error} If invalid parameters
*/
async isWalletAddress(params: TssVerifyNearAddressOptions): Promise<boolean> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can it be done similar to solana?

  async isWalletAddress(params: TssVerifyAddressOptions): Promise<boolean> {
    return verifyEddsaTssWalletAddress(
      params,
      (address) => this.isValidAddress(address),
      (publicKey) => this.getAddressFromPublicKey(publicKey)
    );
  }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants