Hie @vishsahu@alitanwir , am having a case where i need to have intergrations using sdk instead of rest API keys . So there are certain things like npm packages installation which needs to be done as well as custom code intergrations . As someone who is not that much into coding and only understand how to achieve goals in drapcode builder alone , i wanted to ask how i can achieve this sdk intergrations as well as installs . If there are any resources help with them as this is my last phase in the developmental process and lauch
I understand. However, I honestly had a sleepless night trying to figure this out because the SDK seems to be the foundation of the MPC wallet implementation.
From what I understand, the SDK handles the cryptographic computations required for MPC, including key generation, backups, recovery, and the computation of cryptographic shares. That’s why I’m struggling to see how this can be implemented without it.
Could DrapCode’s Custom Functions or Lambda Functions be used to achieve this? I’m not completely sure of their capabilities, but from the DrapCode videos you’ve shared, it seems they might be able to handle some of this logic or integrate with the SDK.
I’m still a bit confused, so I’d really appreciate any guidance you can provide. Please help in any way possible @vishsahu
In that case, you will have to create an intermediatery application which will take the data from your DrapCode app via API and then call the SDK for further processing and then send the response back to the DrapCode app.
The intermediary app is the right pattern. Run a small Node service or serverless function that installs the MPC SDK and exposes a few REST endpoints—for example key generation, backup/recovery, and signing—then have DrapCode call those endpoints. Keep all SDK calls and key shares server-side, not in browser custom functions. If DrapCode’s Lambda can package Node dependencies, test one endpoint there first; otherwise a separate hosted service is simpler. A minimal server-side example from the SDK vendor would help.