Reverse look up

direct-reverse

To find the public key associated to a Twitter handle

import { getTwitterRegistry } from "@bonfida/spl-name-service"; const handle = "bonfida"; const registry = await getTwitterRegistry(connection, handle); const owner = registry.owner.toBase58();