Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@settlemint/sdk-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
SettleMint SDK
✨ https://settlemint.com ✨
Integrate SettleMint into your application with ease.
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"