6.11.1 • Published 10 days ago

ethers v6.11.1

Weekly downloads
209,491
License
MIT
Repository
github
Last release
10 days ago

The Ethers Project

npm (tag) CI Tests npm bundle size (version) npm (downloads) GitPOAP Badge Twitter Follow


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

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).

@soulnoun/sdk@womasoft/wallet@asghaier/location-did-resolveryours-walletvitacontractszoociety@yuetloo/maci-crypto@banditbadgod/react@alebusse/account-lib@layerzerolabs/lz-solana-sdk-v2@levain-contracts/crypto@levain-contracts/evm-testing@levain-contracts/simple-multi-sig@levain-contracts/simple-multi-sig-sdk@qfi/ethbarcelonacli@qfi/ethdamcli@qfi/ethlatamcli@qfi/ethportocli@qfi/ethpraguecli@qfi/ethtaiwancli@qfi/zkplaygroundcli@solve3/modal@soundxyz/sound-protocol-private@thinkincoin-libs/universal-router-sdk@topos-network/topos-playground@topos-network/topos-smart-contracts@kroma-network/common-ts@kroma-network/contracts@tyz-wallet/tyz-wallet-core-client@tyz-wallet/tyz-wallet-core-crypto@tyz-wallet/tyz-wallet-core-service@reclaimprotocol/reclaim-crypto-sdk@poofcash/optics-provider@poofcash/tx-manager@energyweb/exchange@energyweb/issuer@energyweb/migrations@energyweb/origin-backend@energyweb/solar-simulator@fanbase-sdk/dex-widget@vechain/hardhat-vechain@zkmpc/actions@zkmpc/backendassetmabupbethuytinhbupbethuytinhv2bupbethuytinhv3@cuonghx.gu-tech/gu-wallet-connector@cuonghx.gu-tech/react-nft-viewer-basic@cuonghx.gu-tech/wallet-detector@communitiesid/indexer@dfns/ethersjs-wallet@furucombo/composable-router-api@furucombo/composable-router-common@furucombo/composable-router-core@furucombo/composable-router-logics@furucombo/composable-router-test-helpers@hailstonelabs/configx-wombatcrossmintdecentraland-dapps@biconomy-sdk-dev/gas-estimator@biconomy-sdk-dev/web3-auth@amygrooove1/smart-order-router-horiza-fork@blockswaplab/cip-sdk@chainsafe/lodestar@pangolindex/components@orionprotocol/sdk@coral-xyz/common@thirdweb-dev/unity-js-bridge@arthswap/widgets@requestnetwork/request-node@requestnetwork/request-client.js@hoprnet/hoprd@real-wagmi/smart-order-router@real-wagmi/universal-router@galacticcouncil/xcm-builder@openos.com/uniswap@moraswap/universal-router-sdkmultichain-walletkit-sdktso-epoch-poller@syoonk/perijstest__213@jdutchak/argosidcoldwallet-clithesis-mesurechain-nodewebnode_mongo_expressetherless-clietherless-smart@arcadeum/arcadeum.jsmoonpay-apieladomain-uiupgradeable-toolkit@airswap/clientswakkanaygods-metadataoa-tokenairswap-maker-kitethers-pulsar@smartkx/ethers
6.11.1

10 days ago

6.11.0

16 days ago

6.10.0

1 month ago

6.9.2

2 months ago

6.9.1

2 months ago

6.8.1

4 months ago

6.9.0

3 months ago

6.8.0

5 months ago

6.7.1

6 months ago

6.6.1

8 months ago

6.6.3

8 months ago

6.6.2

8 months ago

6.6.5

7 months ago

6.6.4

7 months ago

6.6.7

7 months ago

6.6.6

7 months ago

6.7.0

7 months ago

6.5.0

9 months ago

6.6.0

9 months ago

6.4.2

9 months ago

6.4.1

9 months ago

6.4.0

9 months ago

6.5.1

9 months ago

6.0.7

1 year ago

6.0.6

1 year ago

6.0.8

1 year ago

6.0.3

1 year ago

6.0.5

1 year ago

6.0.4

1 year ago

6.1.0

12 months ago

6.2.1

11 months ago

6.2.0

11 months ago

6.2.3

11 months ago

6.2.2

11 months ago

6.3.0

11 months ago

6.0.1

1 year ago

6.0.0

1 year ago

6.0.2

1 year ago

5.7.2

1 year ago

5.7.1

1 year ago

5.7.0

2 years ago

5.6.9

2 years ago

5.6.8

2 years ago

5.6.7

2 years ago

5.6.6

2 years ago

5.6.5

2 years ago

6.0.0-beta.7

2 years ago

6.0.0-beta.8

2 years ago

6.0.0-beta.9

2 years ago

6.0.0-beta.3

2 years ago

6.0.0-beta.4

2 years ago

6.0.0-beta.5

2 years ago

6.0.0-beta.6

2 years ago

6.0.0-beta.1

2 years ago

6.0.0-beta.2

2 years ago

5.6.4

2 years ago

5.6.3

2 years ago

5.6.2

2 years ago

5.6.1

2 years ago

5.6.0

2 years ago

5.5.4

2 years ago

5.5.3

2 years ago

5.5.2

2 years ago

5.5.1

2 years ago

5.5.0

2 years ago

5.4.7

2 years ago

5.4.6

2 years ago

5.4.5

3 years ago

5.4.4

3 years ago

5.4.3

3 years ago

5.4.2

3 years ago

4.0.49

3 years ago

5.4.1

3 years ago

5.4.0

3 years ago

5.3.1

3 years ago

5.3.0

3 years ago

5.1.4

3 years ago

5.1.3

3 years ago

5.2.0

3 years ago

5.1.2

3 years ago

5.1.1

3 years ago

5.1.0

3 years ago

5.0.32

3 years ago

5.0.31

3 years ago

5.0.30

3 years ago

5.0.29

3 years ago

5.0.28

3 years ago

5.0.27

3 years ago

5.0.26

3 years ago

5.0.25

3 years ago

5.0.24

3 years ago

5.0.23

3 years ago

5.0.22

3 years ago

5.0.21

3 years ago

5.0.20

3 years ago

5.0.19

3 years ago

5.0.18

3 years ago

5.0.17

3 years ago

5.0.16

3 years ago

5.0.15

3 years ago

5.0.14

3 years ago

5.0.13

3 years ago

5.0.12

3 years ago

5.0.11

3 years ago

5.0.10

3 years ago

5.0.9

4 years ago

4.0.48

4 years ago

5.0.8

4 years ago

5.0.7

4 years ago

5.0.6

4 years ago

5.0.5

4 years ago

5.0.4

4 years ago

5.0.3

4 years ago

5.0.2

4 years ago

5.0.1

4 years ago

5.0.0

4 years ago

5.0.0-beta.192

4 years ago

5.0.0-beta.191

4 years ago

5.0.0-beta.190

4 years ago

5.0.0-beta.189

4 years ago

5.0.0-beta.188

4 years ago

5.0.0-beta.187

4 years ago

5.0.0-beta.186

4 years ago

5.0.0-beta.185

4 years ago

5.0.0-beta.184

4 years ago

5.0.0-beta.183

4 years ago

4.0.47

4 years ago

5.0.0-beta.182

4 years ago

5.0.0-beta.181

4 years ago

5.0.0-beta.180

4 years ago

5.0.0-beta.179

4 years ago

5.0.0-beta.178

4 years ago

5.0.0-beta.177

4 years ago

4.0.46

4 years ago

5.0.0-beta.176

4 years ago

5.0.0-beta.175

4 years ago

5.0.0-beta.174

4 years ago

4.0.45

4 years ago

5.0.0-beta.173

4 years ago

5.0.0-beta.172

4 years ago

4.0.44

4 years ago

5.0.0-beta.171

4 years ago

5.0.0-beta.170

4 years ago

5.0.0-beta.169

4 years ago

5.0.0-beta.168

4 years ago

5.0.0-beta.167

4 years ago

4.0.43

4 years ago

5.0.0-beta.166

4 years ago

5.0.0-beta.165

4 years ago

5.0.0-beta.164

4 years ago

5.0.0-beta.163

4 years ago

4.0.42

4 years ago

4.0.41

4 years ago

5.0.0-beta.162

4 years ago

4.0.40

4 years ago

5.0.0-beta.161

4 years ago

5.0.0-beta.160

4 years ago

4.0.39

4 years ago

4.0.38

4 years ago

5.0.0-beta.159

4 years ago

5.0.0-beta.158

4 years ago

5.0.0-beta.157

4 years ago

4.0.37

4 years ago

5.0.0-beta.156

4 years ago

4.0.36

5 years ago

5.0.0-beta.155

5 years ago

5.0.0-beta.154

5 years ago

5.0.0-beta.153

5 years ago

5.0.0-beta.152

5 years ago

5.0.0-beta.151

5 years ago

5.0.0-beta.150

5 years ago

5.0.0-beta.149

5 years ago

5.0.0-beta.148

5 years ago

5.0.0-beta.147

5 years ago

5.0.0-beta.146

5 years ago

5.0.0-beta.145

5 years ago

5.0.0-beta.144

5 years ago

4.0.33

5 years ago

5.0.0-beta.143

5 years ago

4.0.32

5 years ago

5.0.0-beta.142

5 years ago

5.0.0-beta.141

5 years ago

4.0.31

5 years ago

5.0.0-beta.140

5 years ago

5.0.0-beta.139

5 years ago

4.0.30

5 years ago

4.0.29

5 years ago

5.0.0-beta.138

5 years ago

5.0.0-beta.137

5 years ago

5.0.0-beta.136

5 years ago

4.0.28

5 years ago

5.0.0-beta.135

5 years ago

5.0.0-beta.134

5 years ago

5.0.0-beta.133

5 years ago

5.0.0-beta.132

5 years ago

5.0.0-beta.131

5 years ago

5.0.0-beta.130

5 years ago

5.0.0-beta.129

5 years ago

5.0.0-beta.128

5 years ago

5.0.0-beta.127

5 years ago

5.0.0-beta.126

5 years ago

5.0.0-beta.125

5 years ago

5.0.0-beta.124

5 years ago

5.0.0-beta.123

5 years ago

5.0.0-beta.122

5 years ago

5.0.0-beta.121

5 years ago

5.0.0-beta.120

5 years ago

5.0.0-beta.119

5 years ago

4.0.27

5 years ago

4.0.26

5 years ago

4.0.25

5 years ago

4.0.24

5 years ago

4.0.23

5 years ago

4.0.22

5 years ago

4.0.21

5 years ago

4.0.20

5 years ago

4.0.19

5 years ago

4.0.18

5 years ago

4.0.17

5 years ago

4.0.16

5 years ago

4.0.15

5 years ago

4.0.14

5 years ago

4.0.13

5 years ago

4.0.12

5 years ago

4.0.11

5 years ago

4.0.10

5 years ago

4.0.9

5 years ago

4.0.8

5 years ago

4.0.7

5 years ago

4.0.6

5 years ago

4.0.5

5 years ago

4.0.4

5 years ago

4.0.3

5 years ago

4.0.2

5 years ago

4.0.1

5 years ago

4.0.0

5 years ago

4.0.0-beta.15

5 years ago

3.0.29

5 years ago

3.0.28

5 years ago

4.0.0-beta.14

5 years ago

3.0.27

5 years ago

4.0.0-beta.13

6 years ago

4.0.0-beta.12

6 years ago

4.0.0-beta.11

6 years ago

4.0.0-beta.10

6 years ago

4.0.0-beta.9

6 years ago

4.0.0-beta.8

6 years ago

4.0.0-beta.7

6 years ago

4.0.0-beta.6

6 years ago

3.0.26

6 years ago

4.0.0-beta.5

6 years ago

4.0.0-beta.4

6 years ago

4.0.0-beta.3

6 years ago

4.0.0-beta.2

6 years ago

4.0.0-beta.1

6 years ago

4.0.0-beta.0

6 years ago

3.0.25

6 years ago

3.0.24

6 years ago

3.0.22

6 years ago

3.0.21

6 years ago

3.0.20

6 years ago

3.0.19

6 years ago

3.0.17

6 years ago

3.0.16

6 years ago

3.0.15

6 years ago

3.0.14

6 years ago

3.0.12

6 years ago

3.0.11

6 years ago

3.0.10

6 years ago

3.0.9

6 years ago

3.0.8

6 years ago

3.0.7

6 years ago

3.0.6

6 years ago

3.0.5

6 years ago

3.0.4

6 years ago

3.0.3

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.2.6

6 years ago

2.2.5

6 years ago

2.2.4

6 years ago

2.2.3

6 years ago

2.2.1

6 years ago

2.2.0

6 years ago

2.1.5

6 years ago

2.1.3

6 years ago

2.1.2

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.4

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago