mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-16 03:40:37 +08:00
Jump to org in resolver
This commit is contained in:
@@ -138,3 +138,8 @@ export async function identifyAddress(address: string, config: Config): Promise<
|
||||
}
|
||||
return AddressType.EOA;
|
||||
}
|
||||
|
||||
// Resolve a label under the radicle domain.
|
||||
export async function resolveLabel(label: string, config: Config): Promise<string | null> {
|
||||
return config.provider.resolveName(`${label}.${config.registrar.domain}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user