Skip to main content

Overview

This tutorial walks through how to build an application with the @stellar/stellar-sdk.

Account Creation

Accounts are the central data structure in Stellar and can only exist with a valid keypair (a public and secret key) and the required minimum balance of XLM.

Confirmation Modal

Since the user’s keypair is encrypted with a pincode and stored in their browser, we will occasionally need to prompt them for that pincode to sign a…

Contacts List

One central feature of BasicPay is a list of contacts containing a user’s name and associated Stellar addresses.

Manage Trust

For an account to hold and trade assets other than XLM, it must establish a trustline with the issuing account of that particular asset.

Payment

A payment operation sends an amount in a specific asset (XLM or non-XLM) to a destination account.

Path Payment

A path payment is where the asset sent can be different from the asset received.

Anchor Integration

5 items

Querying Data

Your application will be querying data from Horizon (one of Stellar’s APIs) throughout its functionality.