Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 18, 2024 via pnpm

ethers 6.7.1

A complete and compact Ethereum library, for dapps, wallets and any other tools.
Package summary
Share
0
issues
2
licenses
7
MIT
1
0BSD
Package created
5 Apr 2017
Version published
15 Aug 2023
Maintainers
1
Total deps
8
Direct deps
7
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
7 Packages, Including:
@adraffy/ens-normalize@1.9.2
@noble/hashes@1.1.2
@noble/secp256k1@1.7.1
@types/node@18.15.13
aes-js@4.0.0-beta.5
ethers@6.7.1
ws@8.5.0

BSD Zero Clause License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
include-copyright
include-license
include-original
Cannot
hold-liable
Must
1 Packages, Including:
tslib@2.4.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

7
All Dependencies CSV
β“˜ This is a list of ethers 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
@adraffy/ens-normalize1.9.2210.59 kBMIT
prod
@noble/hashes1.1.247.42 kBMIT
prod
@noble/secp256k11.7.127.33 kBMIT
prod
@types/node18.15.13656.76 kBMIT
prod
aes-js4.0.0-beta.5388.32 kBMIT
prod
tslib2.4.09.85 kB0BSD
prod
ws8.5.030.13 kBMIT
prod

Visualizations

Frequently Asked Questions

What does ethers do?

Ethers is a comprehensive, compact, and easy-to-use library dedicated for Ethereum. It facilitates secure client-side private key handling and offers several other features. These include the ability to import and export JSON wallets (compatible with Geth, Parity, and crowdsale), import and export BIP 39 mnemonic phrases and HD Wallets, and create JavaScript objects from any contract ABI (including ABIv2 and Human-Readable ABI). Furthermore, Ethers enables connection to Ethereum nodes over various protocols such as JSON-RPC, INFURA, Etherscan, Alchemy, Ankr, or MetaMask. ENS names are treated as first-class citizens, the library is focused on tree-shaking, ensuring only the necessary parts are bundled. Lastly, Ethers offers complete Ethereum functionality, extensive documentation, and an open-source MIT License guaranteeing freedom of use.

How do you use ethers?

Ethers can be easily installed and used in your project. For NodeJS you can install it via npm:

npm install ethers

For the browser (ESM), the bundled library is available in the ./dist/ folder within the GitHub repository. Import the library in your script as shown below:

<script type="module">
    import { ethers } from "./dist/ethers.min.js";
</script>

Ethers works closely with third-party providers. You can start development right away using ethers.getDefaultProvider(). For your own keys which unlock many other features, refer to the Provider API Keys section in the official documentation. It's worthy to note that the ethers package only includes the essential functionality to interact with Ethereum. There are other additional packages designed to further enhance its functionality and experience.

Where are the ethers docs?

The official documentation for Ethers is available online. It provides a comprehensive guide that includes a Getting Started section, Full API Documentation, and various articles on Ethereum. To explore more about the latest changes, you can refer to the CHANGELOG section on the GitHub project page. Lastly, for advisories and important notices, you can follow the Ethers project on Twitter or watch the GitHub project.