remix-project icon indicating copy to clipboard operation
remix-project copied to clipboard

Upgrade `web3.js v1` to `v4`

Open SantiagoDevRel opened this issue 11 months ago • 1 comments

Hi guys, hope u are doing amazing, first of all, congrats on having this amazing project which is the first step for many devs into blockchain development (including me!)

I'm the DevRel of web3.js, looking at your repo I see you are using web3.js is some of your files (and some are web3 v1, I noticed this since the way to import v4 is with curly brackets v4 = import { Web3 } from "web3" instead of v1= import Web3 from "web3"

Not sure if there might be some things in your repo that will require to upgrade to v4 besides the import statement, anyway I just wanted to give you a heads up on this, since web3 v1 will be deprecated on April 1st. Here is a guide to upgrade from v1 to v4

Not sure if you are already in contact with someone from our team, anyway, I'm here to help or you can get support from our team if needed, so Remix can keep thriving and fulfill its purpose to grow the whole Ethereum dev ecosystem.

SantiagoDevRel avatar Mar 10 '24 12:03 SantiagoDevRel

cc: @yann300

Aniket-Engg avatar Aug 21 '24 15:08 Aniket-Engg