{"id":19972362,"url":"https://github.com/web3space/api","last_synced_at":"2026-05-08T23:15:19.996Z","repository":{"id":97406284,"uuid":"130719793","full_name":"web3space/api","owner":"web3space","description":"API for ethnamed protocol","archived":false,"fork":false,"pushed_at":"2018-07-04T03:13:22.000Z","size":374,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-15T11:48:42.997Z","etag":null,"topics":["api","nodejs","npm"],"latest_commit_sha":null,"homepage":"https://ethnamed.io","language":"LiveScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/web3space.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-23T15:41:28.000Z","updated_at":"2018-07-04T03:13:23.000Z","dependencies_parsed_at":"2023-03-06T08:45:53.600Z","dependency_job_id":null,"html_url":"https://github.com/web3space/api","commit_stats":null,"previous_names":["ethnamed/api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3space%2Fapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3space%2Fapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3space%2Fapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3space%2Fapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/web3space","download_url":"https://codeload.github.com/web3space/api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241405152,"owners_count":19957775,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","nodejs","npm"],"created_at":"2024-11-13T03:07:48.003Z","updated_at":"2025-11-26T23:05:33.759Z","avatar_url":"https://github.com/web3space.png","language":"LiveScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Ethnamed Registry API\n\n\n[Website](http://ethnamed.io) | [Discuss](https://t.me/ethnamed) | [Demo](http://wallet.ethnamed.io)\n\n#### Use API\n\n```\nnpm i ethnamed\n```\n\n### INIT (Backend, Frontend)\n\n```Javascript\n\nvar web3 = if window ? window.web3 : require('web3');\n\nvar ethnamed = require('ethnamed')(window.web3);\n\nvar showResult = function(err, result) {\n    console.log(err, result);\n}\n```\n\n#### CHECK NAME\n\n```Javascript\n\nethnamed.verifyRecord(\"some@email.com\", showResult);  // yourname == yourname.ethnamed.io\n\n```\n\n####  REGISTER NAME\nYou can set of update record by yourself once you get the \n\n```Javascript\n\nvar request = {\n    amountEthers: 0.01,                     //=\u003e Please checkout the pricing table on ethnamed.io\n    name: \"some@email.com\",           //=\u003e It could be a different domain like microsoft.com, ethername.io, ...\n    record: '0x123...'                      //=\u003e Verification Record with Standard ETH_ADDRESS,BTC_ADDRESS,...\n};\n\n// 1. In case when you use custom domain please send this request only when you put the meta tag in to the head of your website `yourname.domain.io`\n// \u003cmeta property='ethnamed' content='0x123...'\u003e\n\n// 2. In case you use nickname.ethnamed.io you can just do nothing for verification\n\nethnamed.setupRecord(request, showResult);\n\n```\n\n####  TRANSFER OWNERSHIP\nAssign another owner when you sell the domain name\n\n```Javascript\n\nethnamed.transferOwnership(\"some@email.com\", '0x123...', showResult);\n\n```\n\n\n#### SEND TO (PAYPAL like functionality in crypto)\nYou can send funds to NON-existent address and let withdraw it when user registers it\n\n```Javascript\n\nvar request = {\n    amountEthers: 0.01,                     //=\u003e Please checkout the pricing table on ethnamed.io\n    name: \"some@email.com\",                 //=\u003e It could be a different domain like microsoft.com, ethername.io, ...\n};\n\nethnamed.sendTo(request, showResult);\n\n```\n\n-----------------\n\nethnamed.io","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb3space%2Fapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweb3space%2Fapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb3space%2Fapi/lists"}