Verify Signatures
Install
tweetnacl for Ed25519 signature verification: npm install tweetnacl. The StrKey.decodeEd25519PublicKey method from @stellar/stellar-sdk extracts the raw 32-byte public key from a Stellar G-address.