tld_parser 0.1.0
tld_parser: ^0.1.0 copied to clipboard
A Dart SDK for parsing AllDomains ANS Protocol domains on Solana. Supports any TLD including .skr, .abc, .poor, .bonk and more.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.0 - 2026-01-29 #
Added #
- Initial release of TLD Parser Dart SDK
- Core
TldParserclass with full API for AllDomains ANS Protocol - Domain resolution:
getOwnerFromDomainTld(),getNameRecordFromDomainTld() - Reverse lookup:
getMainDomain(),tryGetMainDomain(),reverseLookupNameAccount() - Domain listing:
getAllUserDomains(),getAllUserDomainsFromTld(),getParsedAllUserDomainsFromTld() - Record operations:
getRecord(),getRecords(),getAllRecords() - TLD operations:
getTldFromParentAccount(),getAllTld() - NFT-wrapped domain support with automatic owner resolution
- PDA derivation utilities:
findTldHouse(),findMainDomain(),findNameHouse(),findNftRecord() - Domain key derivation:
getDomainKey()supporting 2, 3, and 4-level domains - State models:
NameRecordHeader,MainDomain,NftRecord - Record types: Full suite including social, crypto addresses, and content records
- Comprehensive exception hierarchy for error handling
- Complete documentation with examples
- Unit tests with 117 passing tests