Package Exports
- @settlemint/sdk-cli/cli
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_E2E_TESTS="sm_pat_xxx"
SETTLEMINT_INSTANCE="https://me.settlemint.be"
DISABLE_WORKSPACE_DELETE=true