Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@stellar/typescript-wallet-sdk

Package Overview
Dependencies
Maintainers
8
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stellar/typescript-wallet-sdk

Typescript Wallet SDK is a library that allows developers to build wallet applications on the Stellar network faster. It utilizes [Javascript Stellar SDK](https://github.com/stellar/js-stellar-sdk) to communicate with a Stellar Horizon server. It offers w

  • 1.8.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
522
decreased by-11.07%
Maintainers
8
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 14 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc