Key refresh

Refresh old keyshare

Key refresh
Key refresh flow

Code example

// 1. Initialize key-refresh
// call backend service to generate key-refresh session id
const keyRefreshSessionId = await getKeygenSession();

// Perform key-refresh
const newKeyshare = await P1Tss.refreshKeygen(
  keyRefreshSessionId,
  p1Keys,
  keyshare,
  apiUrl
);

Last updated