Sample express server project

Clone the SDK repo

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

Follow the instructions in the README to install dependencies and run the server.

Sample postman collection with all requests spark-sdk-api.postman_collection.json

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: