Skip to content

Planetable/APIServer

Repository files navigation

This API server is designed to simplify various ENS-related queries, including:

  • Resolving ENS to address
  • Resolving address to ENS
  • Resolving NFT avatar URL if set
  • Getting the content hash URL if set

Build and Run

After cloning the repo, run the following commands to build and run the server:

brew install vapor
vapor build
vapor run serve

And it will be running on http://localhost:8080

If you want the server to listen on all interfaces and a different port, run the following command:

vapor run serve --hostname 0.0.0.0 --port 8123

Live Demo

About

ENS API server written with Swift

Resources

License

Stars

Watchers

Forks