Create Wallet
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 .
1
var parameters = {
2
walletTitle: 'default'
3
}
4
5
const response = await relysia.createWallet(parameters);
Copied!
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.
1
var parameters = {
2
walletTitle: 'required',
3
serviceId: 'optional',
4
type: 'optional',
5
walletLogo: 'optional',
6
walletPassword: 'optional',
7
}
8
9
const response = await relysia.createWallet(parameters);
Copied!
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.
1
var parameters = {
2
oauth: 'optional',
3
serviceId: 'optional',
4
}
5
6
const response = await relysia.wallets(parameters);
Copied!
Copy link