{"id":18908799,"url":"https://github.com/orbitdb/orbitdb-identity-provider-ethereum","last_synced_at":"2025-10-23T20:03:26.629Z","repository":{"id":179983864,"uuid":"664397656","full_name":"orbitdb/orbitdb-identity-provider-ethereum","owner":"orbitdb","description":"Provides creation and signing of identities using an Ethereum wallet.","archived":false,"fork":false,"pushed_at":"2025-03-03T21:48:59.000Z","size":800,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-09T07:39:51.661Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orbitdb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2023-07-09T21:20:36.000Z","updated_at":"2025-03-03T21:49:03.000Z","dependencies_parsed_at":"2023-08-22T16:58:32.439Z","dependency_job_id":"9d750c92-3435-456e-b6d0-d81927c1f9f6","html_url":"https://github.com/orbitdb/orbitdb-identity-provider-ethereum","commit_stats":{"total_commits":30,"total_committers":1,"mean_commits":30.0,"dds":0.0,"last_synced_commit":"8f8515ec8cb63f601a2dba78411a9a6b97e9ade9"},"previous_names":["orbitdb/orbit-db-identity-provider-ethereum","orbitdb/orbitdb-identity-provider-ethereum"],"tags_count":4,"template":false,"template_full_name":"orbitdb/repo-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitdb%2Forbitdb-identity-provider-ethereum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitdb%2Forbitdb-identity-provider-ethereum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitdb%2Forbitdb-identity-provider-ethereum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitdb%2Forbitdb-identity-provider-ethereum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orbitdb","download_url":"https://codeload.github.com/orbitdb/orbitdb-identity-provider-ethereum/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249015505,"owners_count":21198822,"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":"2024-11-08T09:28:36.065Z","updated_at":"2025-10-23T20:03:26.560Z","avatar_url":"https://github.com/orbitdb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OrbitDB Ethereum Identity Provider\n\n\u003cp align=\"left\"\u003e\n  \u003cimg src=\"https://github.com/orbitdb/orbitdb/blob/main/images/orbit_db_logo_color.png\" width=\"256\" /\u003e\n\u003c/p\u003e\n\n[![Matrix](https://img.shields.io/matrix/orbit-db:matrix.org?label=chat%20on%20matrix)](https://app.element.io/#/room/#orbit-db:matrix.org) [![npm (scoped)](https://img.shields.io/npm/v/%40orbitdb/identity-provider-ethereum)](https://www.npmjs.com/package/%40orbitdb/identity-provider-ethereum) [![node-current (scoped)](https://img.shields.io/node/v/%40orbitdb/identity-provider-ethereum)](https://www.npmjs.com/package/@orbitdb/identity-provider-ethereum)\n\nCreate and sign OrbitDB identities using an Ethereum wallet.\n\n## Install\n\nThis project uses [npm](http://npmjs.com/) and [nodejs](https://nodejs.org/).\n\n```sh\nnpm i @orbitdb/identity-provider-ethereum\n```\n\n## Usage\n\nStart by registering the OrbitDBIdentityProviderEthereum identity provider with [useIdentityProvider](https://api.orbitdb.org/module-Identities.html#.useIdentityProvider).\n\nOnce registered, you can simply pass in the identity provider when creating an OrbitDB instance:\n\n```js\nimport { createOrbitDB, useIdentityProvider } from '@orbitdb/core'\nimport * as OrbitDBIdentityProviderEthereum from '@orbitdb/identity-provider-ethereum'\nimport { Wallet } from '@ethersproject/wallet'\n\nconst wallet = Wallet.createRandom()\n\nuseIdentityProvider(OrbitDBIdentityProviderEthereum)\nconst provider = OrbitDBIdentityProviderEthereum({ wallet })\nawait createOrbitDB({ ipfs, identity: { provider } })\n```\n\nIf you require a more custom approach to managing identities, you can create an identity by passing the identity provider to [createIdentity](https://api.orbitdb.org/module-Identities-Identities.html#createIdentity) then use the resulting identity with OrbitDB:\n\n```js\nimport { createHelia, libp2pDefaults } from 'helia'\nimport { createOrbitDB, Identities, useIdentityProvider } from '@orbitdb/core'\nimport * as OrbitDBIdentityProviderEthereum from '@orbitdb/identity-provider-ethereum'\n\nconst libp2pOptions = libp2pDefaults()\nconst ipfs = await createHelia({ libp2p: libp2pOptions })\n\nuseIdentityProvider(OrbitDBIdentityProviderEthereum)\nconst provider = OrbitDBIdentityProviderEthereum({ wallet })\n\nconst identities = await Identities({ ipfs })\nconst identity = await identities.createIdentity({ id: 'userA', provider })\n\nawait createOrbitDB({ ipfs, identities, identity })\n```\n\n## Contributing\n\n**Take a look at our organization-wide [Contributing Guide](https://github.com/orbitdb/welcome/blob/master/contributing.md).** You'll find most of your questions answered there. Some questions may be answered in the [FAQ](FAQ.md), as well.\n\nIf you want to code but don't know where to start, check out the issues labelled [\"help wanted\"](https://github.com/orbitdb/orbitdb/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+sort%3Areactions-%2B1-desc).\n\n## License\n\n[MIT](LICENSE) Haja Networks Oy, OrbitDB Community","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forbitdb%2Forbitdb-identity-provider-ethereum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forbitdb%2Forbitdb-identity-provider-ethereum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forbitdb%2Forbitdb-identity-provider-ethereum/lists"}