Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@stellar/typescript-wallet-sdk
Advanced tools
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
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)
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
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
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
The npm package @stellar/typescript-wallet-sdk receives a total of 389 weekly downloads. As such, @stellar/typescript-wallet-sdk popularity was classified as not popular.
We found that @stellar/typescript-wallet-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.