did_plc 0.0.16 copy "did_plc: ^0.0.16" to clipboard
did_plc: ^0.0.16 copied to clipboard

Support for DID PLC Directory endpoints used by atproto and other services.

example/example.dart

// Copyright 2023 Shinya Kato. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided the conditions.

import 'package:did_plc/did_plc.dart' as plc;

Future<void> main(List<String> args) async {
  try {
    final client = plc.PLC();

    final document = await client.findDocument(
      did: 'did:plc:iijrtk7ocored6zuziwmqq3c',
    );

    print(document);
  } on plc.HttpException catch (e) {
    print(e);
  }
}
1
likes
0
points
209
downloads

Publisher

verified publisheratprotodart.com

Weekly Downloads

Support for DID PLC Directory endpoints used by atproto and other services.

Homepage
Repository (GitHub)
View/report issues

Topics

#atproto #bluesky #plc

Funding

Consider supporting this project:

github.com

License

unknown (license)

Dependencies

atproto_core, freezed_annotation, json_annotation

More

Packages that depend on did_plc