Create wallets with user signers
Setup
To create user wallets that integrate directly with your JWT-based authentication system, first configure your app’s JWT-based authentication settings in the dashboard. The User Signer API uses this configuration to verify the legitimacy of user JWTs.
Create a wallet with a user signer
Once you have configured your custom JWT authentication in the dashboard, your application can create a user wallet by calling the /v1/wallets_with_recovery
endpoint with your user’s JWT subject ID. This endpoint will create a wallet that can be accessed using the associated user JWT.
Request
The request to /v1/wallets_with_recovery
contains the following parameters.
Response
The response from the endpoint will contain the following fields.
The wallet that was created.
The ID of the created user.
Example
An example request to /v1/wallets_with_recovery
may have the following parameters.
A successful response will look like the following.