Skip to content

Commit

Permalink
feat: init
Browse files Browse the repository at this point in the history
  • Loading branch information
charmful0x authored Nov 23, 2023
1 parent 40636c5 commit d986224
Show file tree
Hide file tree
Showing 6 changed files with 1,556 additions and 0 deletions.
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: node ./src/api.js
34 changes: 34 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<p align="center">
<a href="https://onsf.io">
<img src="https://github.com/decentldotland/media-kit/blob/main/namespace/namespace-logo.svg" height="160">
</a>
<h3 align="center"><code>@decentldotland/aikek-resolver</code></h3>
<p align="center">AIKEK Namespace Resolver</p>
</p>

## Build and run

```console
git pull https://github.com/decentldotland/aikek-resolver.git

npm install && npm run start
```

## Methods

### Resolve a domain

- `GET /resolve/domain/:domain`


### Resolve an address (return only primary domain)

- `GET /resolve/addr/:addr`

### Fetch all domains owned by an address

- `GET /acc/:addr`

## License

This project is licensed under the [MIT License](./LICENSE)
Loading

0 comments on commit d986224

Please sign in to comment.