Skip to content

SgtPooki/helia-deno

Repository files navigation

Helia Deno example

Simply trying to figure out what's blocking Helia+Deno

Motivation

ipfs/helia#73

Running the example

npm run reset
npm run dev

Current blockers

Blocked by deno support for assynmmetricKeyType. See denoland/deno#18928 & denoland/deno#18455

╰─ ✔ ❯ npm run dev

> dev
> deno run --allow-env --allow-all main.ts

error: Uncaught Error: Not implemented: crypto.KeyObject.prototype.asymmetricKeyType
    at notImplemented (ext:deno_node/_utils.ts:9:11)
    at KeyObject.export (ext:deno_node/internal/crypto/keys.ts:84:9)
    at ext:deno_node/internal/crypto/keygen.ts:50:45
    at eventLoopTick (ext:core/01_core.js:183:11)

Notes

I have little experience with Deno and this project could probably use many improvements from more Deno-inclined folks.

Releases

No releases published

Packages

No packages published