This monorepo contains the Typescript-based SDKs for AbstractSDK. Please read the docs!
-
Install the Abstract CLI:
npm i -g @abstract-money/cli
-
Ensure you have Node.js installed.
-
Install
pnpm
globally:npm i -g pnpm
-
Clone the Repository:
git clone https://github.com/AbstractSDK/core.git abstractjs cd abstractjs
-
Install Dependencies:
pnpm i
-
Build the Repository:
We use turbo-build to build the repository. This will build all packages in parallel.
pnpm build
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 .