JSPM

@settlemint/sdk-cli

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

SettleMint SDK, integrate SettleMint into your application with ease.

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 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"