5.0.0 • Published 2 days ago
@lit-protocol/sev-snp-utils-sdk v5.0.0
BLS-SDK
Read more about it here
https://github.com/LIT-Protocol/sev-snp-utils-wasm
Installation
yarn add @lit-protocol/sev-snp-utils-sdk
Usage
import { initSevSnpUtilsSdk } from '@lit-protocol/sev-snp-utils-sdk';
initSevSnpUtilsSdk().then((exports) => {
globalThis.wasmExports = exports;
log(
`✅ [SEV SNP Utils SDK] wasmExports loaded. ${
Object.keys(exports).length
} functions available. Run 'wasmExports' in the console to see them.`
);
});
Then
// Check an attestation report
let attestationReport = 'someAttestationReportObtainedFromSomewhere';
try {
await wasmExports.verify_attestation_report(report);
} catch (e) {
console.error(e);
}
The verify_attestation_report() function will throw an error if the attestation report is invalid. Otherwise, it will return undefined.
6.0.0-alpha.1
2 days ago
5.0.0
14 days ago
4.2.1
22 days ago
4.2.0
1 month ago
4.1.1
1 month ago
4.1.0
1 month ago
4.0.0
2 months ago
3.2.6
2 months ago
3.2.5
2 months ago
3.2.4
2 months ago
3.2.3
2 months ago
3.2.2
2 months ago
3.2.2-dev.1
2 months ago
3.2.1-dev.6
2 months ago
3.2.1-dev.7
2 months ago
3.2.1-dev.4
2 months ago
3.2.1-dev.5
2 months ago
3.2.1-dev.2
2 months ago
3.2.1-dev.3
2 months ago
3.2.1-dev.1
2 months ago
3.2.1
2 months ago
3.2.0
2 months ago
3.1.3
3 months ago
3.1.4
3 months ago
3.1.3-staging.2
3 months ago
3.1.3-staging.1
3 months ago
3.1.3-staging.0
3 months ago
3.1.2
3 months ago
3.1.2-staging
3 months ago
3.1.1
3 months ago
3.1.0
3 months ago
3.0.32
3 months ago
3.0.30
3 months ago
3.0.31
3 months ago
3.0.28
4 months ago
3.0.29
4 months ago
3.0.27
5 months ago
3.0.26
5 months ago
3.0.25
5 months ago