Yyugal41735

Ethers/6/Utilities

No description available

Legacy
ethers.jsmigration
Public
0 downloads
0 stars
How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

This codemod does tranformation based on changes in the utils in ethers.js

Example

Byte32 string helpers

Before

ts

After

ts

Constants

Before

ts

After

ts

Data Manipulation

Before

ts

After

ts

Deafult AbiCoder

Before

ts

After

ts

Hex Conversion

Before

ts

After

ts

Solidity non-standard packed

Before

ts

After

ts

Property Manipulation

Before

ts

After

ts

Above were some transformation, that were done in utilities section of ethers, now below are some cleanups and breaking changes.
PS: These changes are not done using codemod.

Fetching content

Basic Fetch with Json

Before

ts

After

ts

Fetch with Connection Overrides:

Before

ts

After

ts

Ready to contribute?

Build your own codemod and share it with the community.