Skip to main content
Version: 1.2.1

BIP340 - Create a new key share (before MPC keygen)

GET 

/bip340/create

Setup a new BIP340 key share (before MPC keygen) for the authenticated user.

All parties must call this function before calling keygen. The returned keygen_id must be sent through an authenticated communication channel to all other devices we wish to perform keygen with. Once we have the keygen_id-s of all parties, then /bip340/keygen can be called with the same key_id as was given here.

Request

Header Parameters

    AUTHORIZATION stringrequired

    The AUTHORIZATION header must be set to the API Key of the user. The API Key is returned when a new user is created using the /admin/create-user endpoint.

Responses

Schema

    key_id stringrequired
    keygen_id stringrequired
Loading...