@quartz-labs/sdk

Quartz

Quartz SDK

Typescript SDK for interacting with the Quartz Protocol.

Install using:

yarn add @quartz-labs/sdk
# or
npm install @quartz-labs/sdk

There is currently an issue with dependancy resolutions, so add the following to your package.json to fix:

"resolutions": {
"rpc-websockets": "^9.0.4",
"@solana/web3.js": "^1.95.8"
}

If you want to use this SDK in a front-end, note that some Node modules don't work in the browser. Because of this, you'll normally want to import the SDK in your client side code like this:

import * from "@quartz-labs/sdk/browser";

Server-side code can still be imported without the /browser path at the end, but you may need to set up your config so your web app doesn't try to bundle the problematic Node modules with the and client side code.

Website and waitlist: quartzpay.io

Docs: docs.quartzpay.io

X: @quartzpay

Contact: iarla@quartzpay.io