aptos-labs / aptos-ts-sdk

An SDK for accessing the Aptos blockchain data, submitting transactions, and more!
https://aptos-labs.github.io/aptos-ts-sdk/
Apache License 2.0
67 stars 37 forks source link

Implement a base version of verifySignature for KeylessAccounts #454

Closed heliuchuan closed 1 month ago

heliuchuan commented 2 months ago

Description

This adds very basic signature verification in order to enable sign and verify for the wallet adapter. This implementation is incomplete as it only checks the ephemeral signature.

Full verification of the proof and training wheels will be done later as it requires querying the chain and the right bn254 library to deserialize the g1/g2 points of the VK.

Test Plan

Added e2e test

Related Links