Skip to content

Instantly share code, notes, and snippets.

@Johnson1s
Johnson1s / setup_npm.md
Created October 10, 2024 15:49 — forked from alexbosworth/setup_npm.md
Setup NPM

Install make

You will probably need build essential tools

# Ubuntu install build tools:
sudo apt-get install -y build-essential

Install Node.js

@Johnson1s
Johnson1s / creating-a-stellar-transaction.js
Created June 28, 2024 15:03 — forked from irisli/creating-a-stellar-transaction.js
Creating a Stellar transaction using JS Stellar SDK
// I made this gist in hopes that it is a good tutorial on creating, signing,
// and submitting a transaction using JS Stellar SDK.
// This gist assumes that you have:
// 1. Secret key of a funded account to be the source account
// 2. Public key of a funded account as a recipient
// 3. Access to JS Stellar SDK (https://github.com/stellar/js-stellar-sdk)
// This code can be run in the browser at https://www.stellar.org/developers/
// That site exposes a global StellarSdk object you can use.