You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Returns a key to be used for storing the ipns entry locally, that is:
90
93
91
-
```
92
-
/ipns/${base32(<HASH>)}
93
-
```
94
+
/ipns/${base32(<HASH>)}
94
95
95
96
#### Marshal data with proto buffer
96
97
@@ -211,7 +212,7 @@ Embed a public key in an IPNS entry. If it is possible to extract the public key
211
212
-`publicKey` (`PubKey`[RSA Instance](https://github.com/libp2p/js-libp2p-crypto/blob/master/src/keys/rsa-class.js)): key to be used for cryptographic operations.
212
213
-`ipnsEntry` (Object): ipns entry record (obtained using the create function).
213
214
214
-
Returns a `Promise`. If the promise resolves to null it means the public key can be extracted directly from the `peer-id`.
215
+
Returns a `Promise`. If the promise resolves to null it means the public key can be extracted directly from the `peer-id`.
215
216
216
217
#### Extract public key from record
217
218
@@ -252,4 +253,15 @@ This repository falls under the IPFS [Code of Conduct](https://github.com/ipfs/c
252
253
253
254
## License
254
255
255
-
Copyright (c) Protocol Labs, Inc. under the **MIT License**. See [LICENSE file](./LICENSE) for details.
0 commit comments