Getting Started
To get started, follow the steps below.Setup Issuer
Create an issuer instance that will be used to interact with the Spark network.
issuer.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.