Client Libraries

@quadrata/sdk/client

The Quadrata SDK provides a set of client libraries that allow you to interact with the Quadrata platform in your dApp.

The libraries are located at @quadrata/sdk/client.

Entry Point

The main entry point for the Quadrata SDK is the Quadrata component. By default, the entry point uses Lazy Loading to load the @quadrata/client-react and @quadrata/kyb-react libraries only when they are needed. This helps bring down the size of the First Load JS bundles.

import { Quadrata } from '@quadrata/sdk/client';

export default function SomeComponent() {
    return (
        <Quadrata />
    );
}

You can opt to using Eager Loading if you cannot or do not want to support Lazy Loading.

Last updated