The Dynamic Client is a vanilla javascript package that allows users to quickly set up all the configurations needed to get an interface that allows them to interact with our features.

It provides a very simple, bare bones client object through the call to createClient. This client can then be extended with many other features, like React Native support and viem integration.

Installation

Simply run the following in your terminal:

npm i @dynamic-labs/client@alpha

Set up

Now create your client with the following code:

import { createClient } from '@dynamic-labs/client'

export const client = createClient({
  environmentId: 'YOUR-ENVIRONMENT-ID',

  // Optional:
  appLogoUrl: 'https://demo.dynamic.xyz/favicon-32x32.png',
  appName: 'Dynamic Demo',
})

You can read more about our client package here.