{"id":25296047,"url":"https://github.com/selfkeyfoundation/selfkey-name-registry","last_synced_at":"2025-06-16T11:04:17.061Z","repository":{"id":65494338,"uuid":"133018948","full_name":"SelfKeyFoundation/selfkey-name-registry","owner":"SelfKeyFoundation","description":"Smart contract for registering names","archived":false,"fork":false,"pushed_at":"2020-09-05T02:02:27.000Z","size":514,"stargazers_count":0,"open_issues_count":5,"forks_count":2,"subscribers_count":18,"default_branch":"develop","last_synced_at":"2025-03-14T14:04:07.788Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/SelfKeyFoundation.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}},"created_at":"2018-05-11T09:23:40.000Z","updated_at":"2020-09-07T05:38:50.000Z","dependencies_parsed_at":"2023-01-25T21:25:15.361Z","dependency_job_id":null,"html_url":"https://github.com/SelfKeyFoundation/selfkey-name-registry","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SelfKeyFoundation%2Fselfkey-name-registry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SelfKeyFoundation%2Fselfkey-name-registry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SelfKeyFoundation%2Fselfkey-name-registry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SelfKeyFoundation%2Fselfkey-name-registry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SelfKeyFoundation","download_url":"https://codeload.github.com/SelfKeyFoundation/selfkey-name-registry/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247550657,"owners_count":20956985,"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":[],"created_at":"2025-02-13T02:55:26.194Z","updated_at":"2025-04-06T20:49:44.608Z","avatar_url":"https://github.com/SelfKeyFoundation.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# selfkey-name-registry\n\nSmart contract for registering names for Selfkey Identity.\n\n* `develop` — [![CircleCI](https://circleci.com/gh/SelfKeyFoundation/selfkey-name-registry/tree/develop.svg?style=svg)](https://circleci.com/gh/SelfKeyFoundation/selfkey-name-registry/tree/develop) [![codecov](https://codecov.io/gh/SelfKeyFoundation/selfkey-name-registry/branch/develop/graph/badge.svg)](https://codecov.io/gh/SelfKeyFoundation/selfkey-name-registry)\n* `master` — [![CircleCI](https://circleci.com/gh/SelfKeyFoundation/selfkey-name-registry/tree/master.svg?style=svg)](https://circleci.com/gh/SelfKeyFoundation/selfkey-name-registry/tree/master) [![codecov](https://codecov.io/gh/SelfKeyFoundation/selfkey-name-registry/branch/master/graph/badge.svg)](https://codecov.io/gh/SelfKeyFoundation/selfkey-name-registry)\n\n## Overview\n\nThe `NameRegistry` contract provides the following functionality.\n\n1. Addresses are able to register any 32 byte value linked to it. Staking is required in order to\nregister a name. For more information about staking, check the [selfkey-staking](https://github.com/SelfKeyFoundation/selfkey-staking) project\ndocumentation.\n\n2. Names can be revoked by withdrawing the stake associated with it.\n\n3. The contract is able to \"resolve\" a name into its corresponding address, as long as its\nassociated stake is still in place.\n\n## Development\n\nAll smart contracts are being implemented in Solidity `0.4.23`.\n\n### Prerequisites\n\n* [NodeJS](htps://nodejs.org), version 9.5+ (I use [`nvm`](https://github.com/creationix/nvm) to manage Node versions — `brew install nvm`.)\n* [truffle](http://truffleframework.com/), which is a comprehensive framework for Ethereum development. `npm install -g truffle` — this should install Truffle v4+.  Check that with `truffle version`.\n\n### Initialization\n\n    npm install\n\n### Testing\n\n#### Standalone\n\n    npm test\n\nor with code coverage\n\n    npm run test:cov\n\n#### From within Truffle\n\nRun the `truffle` development environment\n\n    truffle develop\n\nthen from the prompt you can run\n\n    compile\n    migrate\n    test\n\nas well as other Truffle commands. See [truffleframework.com](http://truffleframework.com) for more.\n\n### Linting\n\nWe provide the following linting options\n\n* `npm run lint:sol` — to lint the Solidity files, and\n* `npm run lint:js` — to lint the Javascript.\n\n## Contributing\n\nPlease see the [contributing notes](CONTRIBUTING.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselfkeyfoundation%2Fselfkey-name-registry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fselfkeyfoundation%2Fselfkey-name-registry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselfkeyfoundation%2Fselfkey-name-registry/lists"}