Learn the basics of building on the Stellar Network
Stellar is an open-source blockchain network designed to enable fast, low-cost cross-border payments and asset transfers. It connects financial institutions, payment providers, and individuals through its decentralized ledger technology.
Install the Stellar SDK:
npm install stellar-sdk
Sample code to create a Stellar account:
const StellarSdk = require('stellar-sdk');
// Generate a new keypair
let pair = StellarSdk.Keypair.random();
console.log('Secret Seed:', pair.secret());
console.log('Public Key:', pair.publicKey());