at_lookup
4.0.0, released 2 weeks ago by atsign.org
Core commands implementation for communicating with an Atsign secondary server.
WASM-ready
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.
- webat_lookup depends on itLightweight bindings for browser APIs via JS interop
- mutexat_lookup depends on itMutual exclusion locks and read-write locks for asynchronous Dart code
- at_utilsat_lookup depends on itUtility library for Atsign Protocol projects with atSign helpers and logging.
- at_commonsat_lookup depends on itFoundational types, protocol verb builders, and utilities for the Atsign Protocol SDK.
- at_contactSame familyDart library for persisting and managing contacts on the atPlatform.
- at_clientBuilt on at_lookupClient SDK for building apps on the atProtocol with end-to-end encryption.
- at_server_statusBuilt on at_lookupCheck the status of an atRoot server and its atServer for a given @sign.
- at_contacts_flutterBuilt on at_lookupA Flutter plugin to manage contacts for an atSign using the atPlatform.