An open API service indexing awesome lists of open source software.

https://github.com/anataliocs/stellar-101-tsnode

This application demonstrates how to use the Stellar SDK
https://github.com/anataliocs/stellar-101-tsnode

stellar stellar-network stellar-sdk ts-node typescript

Last synced: 6 months ago
JSON representation

This application demonstrates how to use the Stellar SDK

Awesome Lists containing this project

README

        

# Stellar SDK Demo

This application demonstrates how to use the [Stellar SDK](https://www.npmjs.com/package/@stellar/stellar-sdk).

## Development

Install deps:

```
npm install
```

## Quest 1: Create Account

https://quest.stellar.org/learn/series/1/quest/1

The script to create an account.

Parameters:
- SECRET_KEY (required)

Command:
```
npx ts-node quest1.ts SECRET_KEY
```

*Additional Details on Stellar Accounts*
- [Stellar Accounts](https://developers.stellar.org/docs/learn/fundamentals/stellar-data-structures/accounts)
- [SDK Docs Account](https://stellar.github.io/js-stellar-sdk/Account.html)
- [Stellar XDR Data Format](https://developers.stellar.org/docs/learn/encyclopedia/data-format/xdr)

## Quest 2: Send Payment

https://quest.stellar.org/learn/series/1/quest/2

The script to send a payment.

Parameters:
- SECRET_KEY (required)

Command:
```
npx ts-node quest2.ts SECRET_KEY
```

----

## Support

- [Stellar Discord](https://discord.com/invite/zVYdY3ktTn)
- [Stellar Docs](https://developers.stellar.org/)