Links

Wallets

How to create your first Blockchain Wallet.

Wallets

Once you created a new account, you first need to create a wallet. Since Relysia allows you to pick between multiple wallet types, we rather leave the wallet choice to the user on their setup. Lets explore how to set up your first wallet.

Types of Wallets

As the name already indicates, the createWallet() adds a new wallet straight to your user account. There is no limit to the number of wallets you can have in a single account. Lets first explore the most simple standard wallet case, before exploring the extended version. Using the walletTitle: 'default' tag, will create a wallet with deterministic path id 0000-00000000-00000 .
var parameters = {
walletTitle: 'default'
}
const response = await relysia.wallet.v1.createWallet(parameters);
in most endpoints you see a walletId input, if you create a default wallet, you can leave the field open and the API will automatically access the default wallet for the operation.
The standard wallet will do the trick for most wallet applications in terms of encryption and usability. For extended functionality, such as password protection or escrow wallets, use the following synthax.
var parameters = {
walletTitle: 'required',
serviceId: 'optional',
type: 'optional',
walletLogo: 'optional',
walletPassword: 'optional',
}
const response = await relysia.wallet.v1.createWallet(parameters);
get
https://api.relysia.com
/v1/createWallet
Create a wallet.
There are 4 wallet types: Standard Wallets have a base encryption, Secure Wallets are additionally password protected, unencrypted Escrow Wallets and Multi Party Wallets (that make use of multi-sig schemes). Each type has very specific use cases that depend on your applications needs

List All Wallets

The wallets endpoint returns you a list of all the wallets associated with your Relysia account. The response details include: walletID, walletTitle and a link to your walletLogo.
var parameters = {
oauth: 'optional',
serviceId: 'optional',
}
const response = await relysia.wallet.v1.wallets(parameters);
get
https://api.relysia.com
/v1/wallets
List of available user wallets.

Delete Specific Wallet

To delete any specific wallet from your account, you can use this endpoint. You need to pass your walletID that you received from List All Wallets endpoint.
delete
https://api.relysia.com
/v1/wallet
Delete specific wallet

Delete All Wallets

delete
https://api.relysia.com
/v1/wallets
Delete all wallets of account