Sample Typescript Project

Clone the SDK repo

git clone https://github.com/buildonspark/spark-sdk.git
cd spark-sdk/sdks/js/examples/nodejs-scripts/

Install dependencies

yarn

Run the samples

yarn tsx ./src/spark-sdk/get_balance.ts "your_mnemonic_here"

Available samples: