JSPM

@settlemint/sdk-cli

0.6.27-main90d64d2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7693
  • Score
    100M100P100Q126878F
  • License FSL-1.1-MIT

SettleMint SDK, integrate SettleMint into your application with ease.

Package Exports

  • @settlemint/sdk-cli/cli

Readme

SettleMint logo

SettleMint SDK

https://settlemint.com
Integrate SettleMint into your application with ease.


CI status License npm stars

Documentation   •   Discord   •   NPM   •   Issues

Getting started

First we will create a new Next JS project using the following command.

# Using npx
npx @settlemint/sdk-cli@latest create

# Using bun
bunx @settlemint/sdk-cli@latest create

# Using pnpm
pnpm dlx @settlemint/sdk-cli@latest create

Then following the next steps in your terminal.

Local development

Debugging

To debug with interactive input you need to start the command from the terminal and then attach the debugger.

bun --inspect-wait=localhost:6499/ sdk/cli/src/cli.ts create
# Attach the debugger using the "SDK: Attach to process" configuration

# Run from the directory created by the create command
bun --inspect-wait=localhost:6499/ sdk/cli/src/cli.ts connect
# Attach the debugger using the "SDK: Attach to process" configuration

e2e tests

Create a ".env" file in the root folder of this project.

SETTLEMINT_ACCESS_TOKEN="sm_pat_xxx"
SETTLEMINT_INSTANCE="https://me.settlemint.be"