js-peer-id icon indicating copy to clipboard operation
js-peer-id copied to clipboard

peer-id implementation in JavaScript. Deprecated; use https://github.com/libp2p/js-libp2p-peer-id instead.

Results 13 js-peer-id issues
Sort by recently updated
recently updated
newest added

**Current Method** 1. Made a peerId using the createEd25519PeerId. _const peerId = await createEd25519PeerId({ privateKey: privateKey });_ 2. Store into json, which eliminates the formats of ed25519, converts the values...

Bumps [aegir](https://github.com/ipfs/aegir) from 36.2.3 to 38.1.7. Release notes Sourced from aegir's releases. v38.1.7 38.1.7 (2023-03-02) Bug Fixes remove it-glob dependency (#1200) (2285b4e) v38.1.6 38.1.6 (2023-02-20) Dependencies bump esbuild from 0.16.17...

dependencies

Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 6.11.3 to 7.2.2. Release notes Sourced from protobufjs's releases. protobufjs: v7.2.2 7.2.2 (2023-02-07) Bug Fixes do not allow to extend same field twice to prevent the error...

dependencies

Bumps [multiformats](https://github.com/multiformats/js-multiformats) from 9.9.0 to 11.0.1. Release notes Sourced from multiformats's releases. v11.0.1 11.0.1 (2023-01-18) Bug Fixes throw on CID.parse v0 string with multibase prefix (258a0be) v11.0.0 11.0.0 (2023-01-02) ⚠...

dependencies

Bumps [uint8arrays](https://github.com/achingbrain/uint8arrays) from 3.1.1 to 4.0.3. Release notes Sourced from uint8arrays's releases. v4.0.3 4.0.3 (2023-01-06) Dependencies bump multiformats from 10.0.3 to 11.0.0 (#43) (1bfbcaa) v4.0.2 4.0.2 (2022-10-12) Bug Fixes update...

dependencies

Hello, How can I create a libp2p key from the metamask ethereum's public key I tried: ``` const web3 = window.web3 const accounts = await web3.eth.getAccounts() this.setState({ account: accounts[0] })...

need/analysis

## Doc Updates The docs for `createFromPrivKey` currently reads: > #### `createFromPrivKey(privKey)` > - `privKey: Buffer` > Creates a Peer ID from a buffer containing a private key. This is...

kind/bug
help wanted
exp/novice
status/ready

`PeerId`'s may or may not have a private key and we may need to detect this in other code. The type of privKey is: `public privKey: Uint8Array;` , however currently...

kind/discussion

Based on discussion here https://github.com/ipfs/js-ipfs/pull/3365/files/fa7c2c13c43bab922052104fe8aff863d9725e9b?file-filters%5B%5D=.js&file-filters%5B%5D=.json&file-filters%5B%5D=.ts#r520418521

status/ready

In this implementation of peer, it appears the constructor allows undefined public key and private key, is this meant to be allowed, or is peer id only useful if both...

kind/support
status/deferred