Skip to content
pubscout

at_lookup

4.0.0, released 2 weeks ago by atsign.org

Core commands implementation for communicating with an Atsign secondary server.

WASM-ready
$ flutter pub add at_lookup
Source repository

What it does

The AtLookup Library is a low-level direct implementation of the Atsign Protocol verbs. It provides an interface to interact with an atServer by sending verbs such as scan, update, lookup, llookup, and plookup, and reading their answers.

AI-written summary of version 4.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to send low-level protocol verbs directly to an Atsign secondary server.
  • You are building custom tools or clients that interface with the Atsign network.

Skip it when

  • You are building a standard Flutter application unrelated to the Atsign ecosystem.
  • You want a high-level abstracted client SDK and do not need direct verb management.

Strengths

  • Direct implementation of Atsign Protocol verbs.
  • Supports secure socket and web socket transports for cross-platform usage including web.

Weaknesses

  • Very niche use case specifically for the Atsign protocol ecosystem.
  • Requires proper key management and authentication configuration via companion packages like at_auth.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
5

Add the dependency to pubspec.yaml and import 'package:at_lookup/at_lookup_io.dart' for native TLS transport.

import 'package:at_auth/at_auth.dart';
import 'package:at_auth/at_auth_io.dart';
import 'package:at_commons/at_commons.dart' show AtRootDomain;
import 'package:at_lookup/at_lookup_io.dart';

const root = AtRootDomain.atsignDomain;
final keysIo = FileAtKeysIo();
final AtLookupMuxable atLookUp = AtLookUp.withSecureSocket(
  atSign: '@alice',
  rootDomain: root,
  transport: secureSocketTransport(SecureSocketConfig()),
  secondaryAddressFinder: CacheableSecondaryAddressFinder(root.rootDomain, root.rootPort),
  authenticator: authenticatorFor(keysIo, '@alice'),
);

Works with

Packages commonly used together with at_lookup: ones it builds on, ones built on it, and its own family.