1.4.1 • Published 1 month ago

@stellar/typescript-wallet-sdk v1.4.1

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
1 month ago

Stellar Typescript Wallet SDK npm version

Typescript Wallet SDK is a library that allows developers to build wallet applications on the Stellar network faster. It utilizes Javascript Stellar SDK to communicate with a Stellar Horizon server.
It offers wide range of functionality to simplify integration with the Stellar network, and connect to the anchors easily, utilizing various Stellar protocols (SEPs)

Dependency

The library is available via npm. To import typescript-wallet-sdk library you need to add it as a dependency to your code:

yarn:

yarn add @stellar/typescript-wallet-sdk

npm:

npm install @stellar/typescript-wallet-sdk

Introduction

Here's a small example creating main wallet class with default configuration connected to testnet network:

let wallet = walletSdk.Wallet.TestNet();

It should later be re-used across the code, as it has access to various useful children classes. For example, you can authenticate with the testanchor as simple as:

const authKey = SigningKeypair.fromSecret("my secret key");
const anchor = wallet.anchor({ homeDomain: "testanchor.stellar.org" });
const sep10 = await anchor.sep10();

const authToken = await sep10.authenticate({ accountKp: authKey });

Read full wallet guide for more info

1.4.1

1 month ago

1.4.0

1 month ago

1.3.1

4 months ago

1.3.0

4 months ago

1.2.0

8 months ago

1.1.1

8 months ago

1.1.0

9 months ago

1.0.0

9 months ago

1.1.3

8 months ago

1.0.0-beta.0

10 months ago

1.2.1

7 months ago

1.1.2

8 months ago

1.1.0-alpha.1

11 months ago

1.1.0-alpha.2

11 months ago

1.1.0-alpha.0

11 months ago

1.0.0-alpha.2

12 months ago

1.0.0-alpha.1

12 months ago

1.0.0-alpha.0

12 months ago