A simple in-app crypto wallet to securely and quickly onboard non-native crypto users to web3 dApps.
Last updated
Was this helpful?
postman API collection:
Create Semi Custodial Wallet (Deprecated)
A type of wallet where Shyft holds half of your private keys while the other half is with the client or the end user.
POST /sol/v1/wallet/create_semi_wallet
We create a standard Solana wallet using keypair.generate(). The private key is then encrypted with the provided password and random encryption parameters. In order to decrypt the key, we need the same password and the same encryption parameters.
So, password and encryption parameters act as 2 keys to unlock your wallet.
Shyft never ever stores or logs your password at any time. This can be confirmed with our open source code.
A type of wallet where Shyft holds half of your private keys while the other half is with the client or the end user.
POST /sol/v1/semi_wallet/create
We create a standard Solana wallet using keypair.generate(). The private key is then encrypted with the provided password and random encryption parameters. In order to decrypt the key, we need the same password and the same encryption parameters.
So, password and encryption parameters act as 2 keys to unlock your wallet.
Shyft never ever stores or logs your password at any time. This can be confirmed with our open source code.
var myHeaders = new Headers();
myHeaders.append("x-api-key", "20CcwuFeQOIcfuHx");
myHeaders.append("Content-Type", "application/json");
var raw = JSON.stringify({
"password": "Qwerrty@z2"
});
var requestOptions = {
method: 'POST',
headers: myHeaders,
body: raw,
redirect: 'follow'
};
fetch("https://api.shyft.to/sol/v1/semi_wallet/create", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));