ipfs / js-ipfs

IPFS implementation in JavaScript
https://js.ipfs.tech
Other
7.43k stars 1.25k forks source link

Can't generate a new key using ipfs-core #4272

Closed 0xtekgrinder closed 1 year ago

0xtekgrinder commented 1 year ago

const ipfs = create({ url: process.env.IPFS_API, })

await ipfs.key.gen("KEY");

welcome[bot] commented 1 year ago

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review. In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment. Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

Finally, remember to use https://discuss.ipfs.io if you just need general support.

RangerMauve commented 1 year ago

Getting same error when talking to kubo via npm-go-ipfs@0.17 and js-ipfs-http-client@60

RangerMauve commented 1 year ago

I can submit a PR

whizzzkid commented 1 year ago

js-ipfs is being deprecated in favor of Helia. You can follow the migration plan here https://github.com/ipfs/js-ipfs/issues/4336 and read the migration guide.

Please feel to reopen with any comments before 2023-06-05. We will do a final pass on reopened issues afterward (see https://github.com/ipfs/js-ipfs/issues/4336).

This issue might be resolved or planned in Helia, if not, please let us know!