{"id":21361453,"url":"https://github.com/orbs-network/decentralized-npm","last_synced_at":"2025-07-13T02:32:17.757Z","repository":{"id":44144935,"uuid":"183236985","full_name":"orbs-network/decentralized-npm","owner":"orbs-network","description":"[App Demo] NPM registry on blockchain with Orbs","archived":false,"fork":false,"pushed_at":"2023-01-03T21:10:00.000Z","size":1178,"stargazers_count":9,"open_issues_count":16,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-05-02T05:51:18.289Z","etag":null,"topics":["blockchain","cli","golang","js","npm","registry","smart-contracts"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orbs-network.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-24T13:40:49.000Z","updated_at":"2022-07-21T07:45:16.000Z","dependencies_parsed_at":"2023-02-01T10:15:48.567Z","dependency_job_id":null,"html_url":"https://github.com/orbs-network/decentralized-npm","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbs-network%2Fdecentralized-npm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbs-network%2Fdecentralized-npm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbs-network%2Fdecentralized-npm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbs-network%2Fdecentralized-npm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orbs-network","download_url":"https://codeload.github.com/orbs-network/decentralized-npm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225850218,"owners_count":17534067,"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":["blockchain","cli","golang","js","npm","registry","smart-contracts"],"created_at":"2024-11-22T06:09:47.025Z","updated_at":"2024-11-22T06:09:47.706Z","avatar_url":"https://github.com/orbs-network.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Decentralized NPM Registry\n\n\u003e POC of decentralized NPM that runs on blockchain\n\n## Usage\n\n### Locally\n1. Launch gamma server: `npm run gamma:start`\n2. Deploy contracts: `npm run gamma:deploy:owners`\n3. Interact with the cli: `npm run cli -- \u003caction\u003e`\n\n## Supported Actions\n\nBelow is the list of supported actions. It specifies primary and secondary actions with parameters, if applicable.\n\nE.g. `npm run cli -- owner add react 0x123456779101213141`\n\n|Primary Action|Secondary Action|Description|\n|--------------|----------------|-----------|\n|`login`||Login creates a `.npmrc` with configuration or registry and user keys.|\n|`owner`||Owner commands allow to interact with the list of owners per package.|\n||`ls \u003cpackageName\u003e`|Lists of all owners for corresponding `packageName`.|\n||`add \u003cpackageName\u003e \u003cuserAddress\u003e`|Adds the specified `userAddress` of a new user as an owner to the specified `packageName`|\n||`rm \u003cpackageName\u003e \u003cuserAddress\u003e`|Removes the specified `userAddress` from the list of owners of specified `packageName`|\n\n## Testing\n### Unit tests `npm test`\nIt runs all tests using jest including integration tests with gamma server.\n\n**Notice!** Tests that are using gamma, due to its performace of start/stop of docker, are currently stateful, meaning that if you are changing the state of a contract, it persists to other tests in a suite.\n\n### Coverage `npm run test:coverage`\nIt will run tests and generate coverage report.\n\n## License\nMIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forbs-network%2Fdecentralized-npm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forbs-network%2Fdecentralized-npm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forbs-network%2Fdecentralized-npm/lists"}