HIP02 Resolver website https://hip02.woodburn.au
Go to file
Nathan Woodburn 21a54657bb
All checks were successful
Build Docker / Build Image (push) Successful in 22s
fix: Install openssl inside container
2023-11-09 22:32:50 +11:00
.gitea/workflows feat: Initial code 2023-11-09 21:59:11 +11:00
.gitignore feat: Initial code 2023-11-09 21:59:11 +11:00
Dockerfile fix: Install openssl inside container 2023-11-09 22:32:50 +11:00
hip02.py feat: Initial code 2023-11-09 21:59:11 +11:00
LICENSE.md Initial commit 2023-11-09 21:14:59 +11:00
main.py fix: if add strict False check 2023-11-09 22:29:05 +11:00
README.md docs: Added readme info 2023-11-09 22:23:11 +11:00
requirements.txt feat: Initial code 2023-11-09 21:59:11 +11:00
server.py feat: Initial code 2023-11-09 21:59:11 +11:00

HIP02 Resolver

Usage

HNS address lookup

curl https://hip02.woodburn.au/<domain>

Examples

Getting HNS address for nathan.woodburn
curl https://hip02.woodburn.au/nathan.woodburn
Response: hs1qjrtqpqk3xvzf5cxzss4wh2y9qyamksmv5sf5tt

Getting HNS address for nathan.woodburn in JSON
curl https://hip02.woodburn.au/nathan.woodburn.json
Response: {"address":"hs1qjrtqpqk3xvzf5cxzss4wh2y9qyamksmv5sf5tt","success":true}

Getting BTC address for nathan.woodburn
curl https://hip02.woodburn.au/nathan.woodburn?token=btc
Response: bc1qhs94zzcw64qnwq4hvk056rwxwvgrkd7tq7d4xw
curl https://hip02.woodburn.au/nathan.woodburn.json?token=btc
Response: {"address":"bc1qhs94zzcw64qnwq4hvk056rwxwvgrkd7tq7d4xw","success":true}

Docker Usage

docker run -d -p 5000:5000 --name hip02 git.woodburn.au/nathanwoodburn/hip02-resolver:latest