crossmint_core 0.1.1
crossmint_core: ^0.1.1 copied to clipboard
Pure-Dart base primitives for the Crossmint Flutter SDK — config, transport, error types, chain validation, and shared models.
crossmint_core #
Shared pure-Dart primitives for the Crossmint Flutter SDK family.
Status #
- Published support package in the
crossmint_flutterpackage family - Intended to become the shared substrate for Flutter and future Dart server work
- Usually consumed transitively through
crossmint_flutter
What it owns #
- shared config and environment derivation
- transport interfaces and the default HTTP transport
- shared error and logging types
- common JSON models
- orders, tokens, and users client contracts and models
Public libraries #
package:crossmint_core/crossmint_core.dartpackage:crossmint_core/crossmint_core_parsing.dartpackage:crossmint_core/crossmint_core_services.dart
Example #
import 'package:crossmint_core/crossmint_core.dart';
const config = CrossmintApiConfig(apiKey: 'ck_staging_...');
final environment = CrossmintEnvironment.fromApiKey(config.apiKey);
Relationship to crossmint_flutter #
Flutter apps should usually import the re-exported surface from
package:crossmint_flutter/crossmint_core.dart unless they are working
directly inside the package-family internals.