Getting Started
To get started, follow the steps below.1
Install SDK
Install the Spark Issuer SDK packages using your package manager of choice.
2
Setup Issuer
Create an issuer instance that will be used to interact with the Spark network.
issuer.ts
3
Start Building
You’re ready to start building.
app.ts
TypeScript Configuration
tsconfig.json
Create atsconfig.json file in your project root:
tsconfig.json
Package.json Scripts
Add TypeScript build scripts to yourpackage.json:
package.json
Core Issuer Operations
Initialize an Issuer Wallet
An issuer wallet requires either a mnemonic or raw seed for initialization. Theinitialize() function accepts both. If no input is given, it will auto-generate a mnemonic and return it.