Installations
npm install @exchain-ethersproject/random
Developer Guide
Typescript
Yes
Module System
CommonJS, UMD
Node Version
14.17.3
NPM Version
ethers-dist@0.0.1
Score
70.4
Supply Chain
72.4
Quality
75.1
Maintenance
100
Vulnerability
100
License
Releases
ethers/v6.13.5 (2025-01-04 15:26)
Updated on Jan 06, 2025
ethers/v6.13.4 (2024-10-10 18:01)
Updated on Oct 12, 2024
ethers/v6.13.3 (2024-09-30 22:08)
Updated on Oct 01, 2024
ethers/v6.13.2 (2024-07-25 18:20)
Updated on Jul 25, 2024
ethers/v6.13.1 (2024-06-18 02:37)
Updated on Jun 18, 2024
ethers/v6.13.0 (2024-06-04 01:38)
Updated on Jun 04, 2024
Contributors
Languages
TypeScript (66.73%)
JavaScript (33.21%)
HTML (0.05%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
Download Statistics
Total Downloads
4,272
Last Day
8
Last Week
66
Last Month
274
Last Year
2,096
GitHub Statistics
MIT License
8,104 Stars
728 Commits
1,928 Forks
103 Watchers
22 Branches
3 Contributors
Updated on Feb 12, 2025
Bundle Size
6.54 kB
Minified
2.58 kB
Minified + Gzipped
Sponsor this package
Package Meta Information
Latest Version
5.5.0
Package Id
@exchain-ethersproject/random@5.5.0
Unpacked Size
16.28 kB
Size
5.08 kB
File Count
44
NPM Version
ethers-dist@0.0.1
Node Version
14.17.3
Total Downloads
Cumulative downloads
Total Downloads
4,272
Last Day
0%
8
Compared to previous day
Last Week
1.5%
66
Compared to previous week
Last Month
2.6%
274
Compared to previous month
Last Year
277%
2,096
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
The Ethers Project
A complete, compact and simple library for Ethereum and ilk, written in TypeScript.
Features
- Keep your private keys in your client, safe and sound
- Import and export JSON wallets (Geth, Parity and crowdsale)
- Import and export BIP 39 mnemonic phrases (12 word backup phrases) and HD Wallets (English as well as Czech, French, Italian, Japanese, Korean, Simplified Chinese, Spanish, Traditional Chinese)
- Meta-classes create JavaScript objects from any contract ABI, including ABIv2 and Human-Readable ABI
- Connect to Ethereum nodes over JSON-RPC, INFURA, Etherscan, Alchemy, Ankr or MetaMask
- ENS names are first-class citizens; they can be used anywhere an Ethereum addresses can be used
- Small (~144kb compressed; 460kb uncompressed)
- Tree-shaking focused; include only what you need during bundling
- Complete functionality for all your Ethereum desires
- Extensive documentation
- Large collection of test cases which are maintained and added to
- Fully written in TypeScript, with strict types for security and safety
- MIT License (including ALL dependencies); completely open source to do with as you please
Keep Updated
For advisories and important notices, follow @ethersproject on Twitter (low-traffic, non-marketing, important information only) as well as watch this GitHub project.
For more general news, discussions, and feedback, follow or DM me, @ricmoo on Twitter or on the Ethers Discord.
For the latest changes, see the CHANGELOG.
Summaries
- August 2023
- September 2022
- June 2022
- March 2022
- December 2021
- September 2021
- May 2021
- March 2021
- December 2020
Installing
NodeJS
/home/ricmoo/some_project> npm install ethers
Browser (ESM)
The bundled library is available in the ./dist/
folder in this repo.
<script type="module">
import { ethers } from "./dist/ethers.min.js";
</script>
Documentation
Browse the documentation online:
Providers
Ethers works closely with an ever-growing list of third-party providers to ensure getting started is quick and easy, by providing default keys to each service.
These built-in keys mean you can use ethers.getDefaultProvider()
and
start developing right away.
However, the API keys provided to ethers are also shared and are intentionally throttled to encourage developers to eventually get their own keys, which unlock many other features, such as faster responses, more capacity, analytics and other features like archival data.
When you are ready to sign up and start using for your own keys, please check out the Provider API Keys in the documentation.
A special thanks to these services for providing community resources:
Extension Packages
The ethers
package only includes the most common and most core
functionality to interact with Ethereum. There are many other
packages designed to further enhance the functionality and experience.
- MulticallProvider - A Provider which bundles multiple call requests into a single
call
to reduce latency and backend request capacity - MulticoinPlugin - A Provider plugin to expand the support of ENS coin types
- GanaceProvider - A Provider for in-memory node instances, for fast debugging, testing and simulating blockchain operations
- Optimism Utilities - A collection of Optimism utilities
- LedgerSigner - A Signer to interact directly with Ledger Hardware Wallets
License
MIT License (including all dependencies).

No vulnerabilities found.
Reason
30 commit(s) and 13 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
- Info: security policy file detected: SECURITY.md:1
- Info: Found linked content: SECURITY.md:1
- Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1
- Info: Found text in security policy: SECURITY.md:1
Reason
license file detected
Details
- Info: project has a license file: LICENSE.md:0
- Info: FSF or OSI recognized license: MIT License: LICENSE.md:0
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/generate-docs.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/generate-docs.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/generate-docs.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/generate-docs.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/generate-docs.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/generate-docs.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-browser.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-browser.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-browser.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-browser.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-browser.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-browser.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-ci.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-ci.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-ci.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-ci.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-ci.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-ci.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-ci.yml:72: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-ci.yml:75: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-ci.yml:87: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-ci.yml:96: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-ci.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-ci.yml:102: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-env.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-env.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-env.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-env.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-env.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-env.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-env.yml:66: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-env.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-env.yml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-env.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-env.yml:79: update your workflow using https://app.stepsecurity.io/secureworkflow/ethers-io/ethers.js/test-env.yml/main?enable=pin
- Warn: npmCommand not pinned by hash: .github/workflows/generate-docs.yml:36
- Warn: npmCommand not pinned by hash: .github/workflows/test-env.yml:49
- Warn: npmCommand not pinned by hash: .github/workflows/test-env.yml:83
- Info: 0 out of 14 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 7 third-party GitHubAction dependencies pinned
- Info: 4 out of 7 npmCommand dependencies pinned
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/generate-docs.yml:1
- Warn: no topLevel permission defined: .github/workflows/test-browser.yml:1
- Warn: no topLevel permission defined: .github/workflows/test-ci.yml:1
- Warn: no topLevel permission defined: .github/workflows/test-env.yml:1
- Info: no jobLevel write permissions found
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'main'
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Score
5.1
/10
Last Scanned on 2025-02-10
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More