Replies: 7 comments 15 replies
-
I had never heard of it before and would need to research it more before I can comment any further. Sounds interesting though. :) |
Beta Was this translation helpful? Give feedback.
-
I'm going to move this to discussions for now. If anyone can give a quick overview of what is needed to make things Deno-happy, would be appreciated. Is it just a matter of a package.json key? Basically, more info would be nice, and now that discussions exist, this seems like a better place to iron out the details. :) |
Beta Was this translation helpful? Give feedback.
-
I'd also like to see ethers added as a module in Deno as well 👍🏾 |
Beta Was this translation helpful? Give feedback.
-
+1. I tried to do it myself using denoify, but the build structure is too complicated for this tool I guess. I'll keep digging. |
Beta Was this translation helpful? Give feedback.
-
Okay, for the future reference, skypack solves this problem somehow (I guess with a little type definition hack I added). Export map is missing, but it does not seem to have an impact on anything. See https://github.com/vorcigernix/freshweb3kit for a reference. |
Beta Was this translation helpful? Give feedback.
-
Using the new npm specifier feature in Deno works for me without any issues: import { ethers } from "npm:ethers@^5.7"; |
Beta Was this translation helpful? Give feedback.
-
Deno is the next-gen version of nodejs, built specifically for TypeScript. Ethers.js is a modern TypeScript project that could fit very well with deno.
Here are some tools that can help:
Currently within a deno project, using
import { ethers } from "https://cdn.ethers.io/lib/ethers-5.4.6.esm.min.js";
enables the dependency to be added without error, but obviously deno supports a much richer dev experience when used with original source in pure TypeScript.Are there any plans to support deno?
Beta Was this translation helpful? Give feedback.
All reactions