Proof Generation
Two Proof Modes
Mode
Use case
Gas cost
Single Proof
const sdk = createSdk();
// `redeemContext` comes from collectRedeemContext() -- see Receiving page
const artifacts = await sdk.teleportProofs.createSingleTeleportProof({
aggregationState: redeemContext.aggregationState,
recipientFr,
secretHex,
event: redeemContext.events.eligible[0],
proof: redeemContext.globalProofs[0],
});Batch Proof
Next Steps
Last updated