# devloper.id

> Easily create and verify decentralized identities using Ethereum wallets. This package allows users to connect their Ethereum wallet, generate an API key based on their address, and create a decentralized identity stored on IPFS.

Latest version **1.0.1** (published 2023-10-07) · ISC license · 0 weekly downloads

## Install

```sh
npm install devloper.id
pnpm add devloper.id
yarn add devloper.id
bun add devloper.id
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2023-10-07 |
| First published | 2023-10-07 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 7.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | vmmuthu |

## Links

- npm: https://www.npmjs.com/package/devloper.id
- npm.io page: https://npm.io/package/devloper.id

## Dependencies (5)

- [cors](https://npm.io/package/cors.md) ^2.8.5
- [web3](https://npm.io/package/web3.md) ^4.1.2
- [ethers](https://npm.io/package/ethers.md) ^5.7.2
- [express](https://npm.io/package/express.md) ^4.18.2
- [nodemon](https://npm.io/package/nodemon.md) ^3.0.1

## Recent versions

- 1.0.1 (latest) — 2023-10-07
- 1.0.0 — 2023-10-07

## README

# Decentralized Identity Package

Easily create and verify decentralized identities using Ethereum wallets. This package allows users to connect their Ethereum wallet, generate an API key based on their address, and create a decentralized identity stored on IPFS.

## Features

- Wallet connectivity
- API key generation
- UI for identity creation
- Data pinning on IPFS
- Smart contract interactions for storing and verifying identities

## Installation

```bash
npm install decentralized-identity-package
```

## Usage

### Connecting a Wallet and Generating API Key

```javascript
const { connectWallet } = require('decentralized-identity-package');

async function initiate() {
    const apiKey = await connectWallet();
    console.log(apiKey);
}
```

### Creating a Decentralized Identity

```javascript
const { createIdentity } = require('decentralized-identity-package');

const userData = {
    name: "John Doe",
    jobRole: "Developer",
    experience: "5 years",
    stack: "JavaScript, React, Ethereum"
};

async function initiateIdentity() {
    const ipfsPath = await createIdentity(userData);
    console.log(ipfsPath);
}
```

### Verifying a User's Identity

```javascript
const { verifyIdentity } = require('decentralized-identity-package');

async function checkIdentity(address) {
    const identityData = await verifyIdentity(address);
    console.log(identityData);
}
```

## Requirements

- Web3-enabled browser or provider
- IPFS (if self-hosting)
- Ethereum smart contract setup for storing user identities

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

## License

[MIT](https://choosealicense.com/licenses/mit/)

---

---
_Source: https://npm.io/package/devloper.id · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
