Skip to content

fwd/nano-to-cloud

 
 

Repository files navigation

line

Nano Name Service

Hosted on Github

line

Nano.to

🇺🇸 · 🇨🇦 · 🇲🇽 · 🇨🇺 · 🇸🇻 · 🇳🇮 · 🇨🇴 · 🇵🇪 · 🇳🇱 · 🇩🇪 · 🇯🇵 · 🇰🇷 · 🇧🇷 · 🇺🇦 · 🇵🇱 · 🇳🇬 · 🇮🇳 · 🇪🇸 · 🇮🇩 · 🇫🇷 · 🇲🇲 · 🇦🇺 · 🇵🇭 · 🇸🇪 · 🇵🇹 · 🇹🇷

line

Quick Links

line

More Domains

  • nano.to (Original)
  • xno.to (Redirect)
  • ӿ.to (Redirect)

line

Developer API

GET: https://nano.to/.well-known/nano-currency.json?names=Moon

Lookup:

{
  names: [
      {
        "status": "active",
        "github": "nano2dev",
        "name": "Moon",
        "address": "nano_1m747htgqw5f...hmz1zaqoj1puj7h96oj",
        "created": "September 13, 2021",
        "expires": "October 7, 2024",
        "created_unix": 1631584140,
        "expires_unix": 1728273600
      }
  ]
}

Reverse Lookup:

GET: https://nano.to/.well-known/nano-currency.json?names=nano_1ak3bsi..

Update Name:

curl -d '{
  "action": "update_name",
  "name": "NanoBull",
  "title": "Software Developer",
  "rep_address": "nano_3t6k35gi95xu6tergt6p...xtoncuohr3"
}' \
-H "Content-Type: application/json" \
"https://rpc.nano.to"

line

Host Your Own

Serve the included index.html file with any web server.

git clone git@github.com:fwd/nano.git && cd nano
php -S localhost:8080

line

Download Dataset

Nano Known (~60KB) is your guide to the galaxy.

line

Verification

Fork Nano.to and modify your object in known.json. or use API.

curl -d '{
  "action": "update_name",
  "name": "NanoBull",
  "title": "Software Developer",
  "twitter": "NanoBull",
  "github": "NanoBull",
  "mastodon": "xno.social/@nano2bot",
  "calendly": "NanoNullConsulting/30min",
  "calendly_price": 1,
  "location": "Place Name or Lat, Lon",
  "website": "https://fwd.dev",
  "for_sale": 500,
  "goal_ui": "100:Server Hosting"
  "address": "NEW_NANO_ADDRESS",
  "rep_address": "YOUR_MACHINE",
  "donation_address": "OPTIONAL_NANO_ADDRESS"
}' \
-H "Content-Type: application/json" \
"https://rpc.nano.to"

Bugs & Features ⭐️

Give a star if this project helped you. Contributions, issues and features are welcome at issues page.

line

Sponsor (DigitalOcean)

line

Nano.to Support

line

License

Limited Commercial

  • ✅ Personal & Open Source
  • ✅ Commercial use where Nano.to Usernames / Checkout is a means.
  • ❌ Commercial use where Nano.to Usernames / Checkout is re-sold.

Contact support@nano.to for questions.

Stargazers

Stargazers over time

Releases

No releases published

Packages

No packages published

Languages

  • HTML 60.2%
  • JavaScript 39.8%