Skip to main content

dynamic_sdk 2.0.0-beta.3 copy "dynamic_sdk: ^2.0.0-beta.3" to clipboard
dynamic_sdk: ^2.0.0-beta.3 copied to clipboard

Authentication, sessions, users, wallets, MFA, and passkeys for Flutter and Dart applications.

dynamic_sdk #

The core Dynamic SDK for Flutter and Dart applications.

Use this package for authentication, sessions, users, wallets, multi-factor authentication, passkeys, and the shared client runtime. Add separate packages only for the chains and features that your application uses.

Create a client #

import 'package:dynamic_sdk/dynamic_sdk.dart';

final client = DynamicSdk.createDynamicClient(
  environmentId: 'YOUR_ENVIRONMENT_ID',
  appName: 'My app',
  nativeLink: 'myapp://',
  universalLink: 'https://example.com',
);

await client.initialize();

Use your own Dynamic environment ID. Do not store API secrets in the client application.

Add features #

Install feature packages on the same client before initialization. For example:

import 'package:dynamic_sdk_waas/dynamic_sdk_waas.dart';

client.useWaas();
await client.initialize();

Each feature package documents its own setup and public API.

Platforms #

The package supports Android, iOS, web, macOS, Windows, and Linux. Some optional features have narrower platform support. Check the README for each feature package.

2
likes
130
points
3.07k
downloads

Documentation

API reference

Publisher

verified publisherdynamic.xyz

Weekly Downloads

Authentication, sessions, users, wallets, MFA, and passkeys for Flutter and Dart applications.

Homepage

License

MIT (license)

Dependencies

crypto, flutter, flutter_inappwebview, flutter_secure_storage, http, pointycastle, web

More

Packages that depend on dynamic_sdk

Packages that implement dynamic_sdk