{"repo":"Planetable/ENSKit","free":true,"listed":false,"github":"https://github.com/Planetable/ENSKit","clone":"git clone https://github.com/Planetable/ENSKit.git","description":"Swift library for Ethereum Name Service","language":"Swift","stars":21,"topics":["ens","ethereum","nft-avatar","swift","web3","eip-1577"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"ENSKit A swift utility to resolve Ethereum Domain Names (ENS). Quick Start Setup: Get contenthash URL: Get avatar: Get text information associated with ENS: Resolve address to name: Advanced Usage ENSResolver Interface It is recommended to use ENSResolver if you would like to query several records of an ENS at once. For example, use ENSResolver to get the Ethereum wallet address, email, avatar, and contenthash associated with an ENS: Methods in resolver reuse the same public resolver contract when the instance is created. This can save a few requests to Ethereum API. In addition, all methods in resolver are marked with throw keyword. An empty result from resolver means a successful query, not an error interacting with Ethereum. In contrast, convenience methods in ENSKit main class do NOT distinguish between empty records and error results. Contract Events ENSKit supports contract events. You can search for history of contenthash changes and Ethereum wallet changes of an ENS: History entries are sorted by newest first. If you only concern about the latest change, there are also convenience methods in ENSKit : Extensibility You can provide your own Ethereum node to interact: You can also provide your own JSONRPC implementation if EthereumAPI does not cover your need. ENSKit uses OpenSea as a default NFT API provider to fetch NFT avatars that do not store metadata on chain. You can provide your own NFTPlatform implementation to use other services. ENSKit uses Cloudflare IPFS Gat","default_branch":null,"files":null,"tree":[],"storefront":"/r/Planetable","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Planetable/ENSKit/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}