Skip to content

This monorepo contains the Typescript-based SDKs for AbstractSDK.

License

Notifications You must be signed in to change notification settings

AbstractSDK/abstract.js

Folders and files

NameName
Last commit message
Last commit date
Jan 31, 2025
Dec 9, 2024
Jan 16, 2024
Jan 31, 2025
Jan 31, 2025
Nov 23, 2024
Oct 17, 2024
Dec 7, 2023
Dec 20, 2022
Nov 17, 2023
Mar 25, 2024
Oct 17, 2024
Jan 2, 2024
Jan 9, 2024
Dec 11, 2024
Dec 11, 2024
Dec 29, 2023
Oct 22, 2024
Feb 15, 2024
Feb 15, 2024

Repository files navigation

Abstract Typescript SDKs

This monorepo contains the Typescript-based SDKs for AbstractSDK. Please read the docs!

Development

  1. Install the Abstract CLI:

    npm i -g @abstract-money/cli

Prerequisites

  • Ensure you have Node.js installed.

  • Install pnpm globally:

    npm i -g pnpm

Setup

  1. Clone the Repository:

    git clone https://github.com/AbstractSDK/core.git abstractjs
    cd abstractjs
  2. Install Dependencies:

    pnpm i
  3. Build the Repository:

    We use turbo-build to build the repository. This will build all packages in parallel.

    pnpm build

Types

We have tried to make this repository compatible with both ESM and CJS, following guides from https://johnnyreilly.com/dual-publishing-esm-cjs-modules-with-tsup-and-are-the-types-wrong.

To check the types are exported properly, run the commands in the packages in which you're interested:

npx --yes @arethetypeswrong/cli --pack .