Complete Ethereum library and wallet implementation in JavaScript. https://docs.ethers.io/
Go to file
Richard Moore 866ab30400
Removing node v14 from CI (temporary).
2020-07-13 08:42:40 -04:00
.github/workflows Removing node v14 from CI (temporary). 2020-07-13 08:42:40 -04:00
admin Updated spell check script. 2020-07-05 00:03:50 -04:00
docs Updated docs build. 2020-07-05 00:02:47 -04:00
docs.wrm Updated docs. 2020-07-07 23:20:32 -04:00
github-cache Sync GitHub issue cache. 2020-04-18 06:41:34 -04:00
packages Updated WebSocketProvider to use web-style event listener API. 2020-07-13 08:41:54 -04:00
.gitignore Updated Changelog. 2019-09-06 17:58:37 -04:00
CHANGELOG.md Updated dist files. 2020-07-13 08:03:56 -04:00
CHANGELOG.v5-beta.md Splitting CHANGELOG beta vs release. 2020-06-12 21:27:23 -04:00
LICENSE.md Initial v5 branch commit. 2019-05-14 18:25:46 -04:00
README.md Updated dist files. 2020-07-13 08:03:56 -04:00
SECURITY.md Create security policy. 2020-06-13 17:21:50 -04:00
karma-esm.conf.js add circleci and parity test files 2019-12-09 23:01:21 -05:00
karma-umd.conf.js Increase UMD karma test timeout (for CI). 2020-02-13 16:23:53 -05:00
lerna.json Initial v5 branch commit. 2019-05-14 18:25:46 -04:00
package-lock.json Updated dist files. 2020-07-13 08:03:56 -04:00
package.json Added initial code coverage testing. 2020-07-13 06:48:33 -04:00
rollup-ancillary.config.js Browser support (with dist files) for Ledger. 2020-01-10 19:59:20 -05:00
rollup-tests.config.js Updating some packages that audit complains about (dev deps only). 2020-02-26 09:48:12 +00:00
rollup.config.js Updates for dist builds. 2020-04-18 05:44:51 -04:00
tsconfig.package.json Added TypeScript map generation and files. 2020-07-13 06:50:29 -04:00
tsconfig.project.json Removed deprecated errors package. 2020-06-17 23:34:53 -04:00

README.md

The Ethers Project

npm (tag) Node.js CI

A complete Ethereum wallet implementation and utilities in JavaScript (and 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 or MetaMask
  • ENS names are first-class citizens; they can be used anywhere an Ethereum addresses can be used
  • Tiny (~104kb compressed; 322kb uncompressed)
  • Modular packages; include only what you need
  • Complete functionality for all your Ethereum desires
  • Extensive documentation
  • Large collection of test cases which are maintained and added to
  • Fully TypeScript ready, with definition files and full TypeScript source
  • MIT License (including ALL dependencies); completely open source to do with as you please

Keep Updated

For the latest news and advisories, please follow the @ethersproject on Twitter (low-traffic, non-marketing, important information only) as well as watch this GitHub project.

For the latest changes, see the CHANGELOG.

Installing

node.js

/home/ricmoo/some_project> npm install --save ethers

browser (UMD)

<script src="https://cdn.ethers.io/lib/ethers-5.0.umd.min.js" type="text/javascript">
</script>

browser (ESM)

<script type="module">
    import { ethers } from "https://cdn.ethers.io/lib/ethers-5.0.umd.min.js";
</script>

Documentation

Browse the documentation online:

Or browse the entire documentation as a single page to make searching easier.

Ancillary Packages

These are a number of packages not included in the umbrella ethers npm package, and additional packages are always being added. Often these packages are for specific use-cases, so rather than adding them to the umbrella package, they are added as ancillary packaged, which can be included by those who need them, while not bloating everyone else with packages they do not need.

We will keep a list of useful packages here.

License

MIT License (including all dependencies).