5.5.1 • Published 1 month ago

ethers v5.5.1

Weekly downloads
209,491
License
MIT
Repository
github
Last release
1 month ago

ethers.js

npm version

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) and brain wallets
  • Import and export BIP 39 mnemonic phrases (12 word backup phrases) and HD Wallets (English, Italian, Japanese, Korean, Simplified Chinese, Traditional Chinese; more coming soon)
  • Meta-classes create JavaScript objects from any contract ABI
  • Connect to Ethereum nodes over JSON-RPC, INFURA, Etherscan, or MetaMask
  • ENS names are first-class citizens; they can be used anywhere an Ethereum addresses can be
  • Tiny (~84kb compressed; 270kb uncompressed)
  • Complete functionality for all your Ethereum needs
  • 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

Installing

To use in a browser:

<script charset="utf-8"
        src="https://cdn.ethers.io/scripts/ethers-v4.min.js"
        type="text/javascript">
</script>

To use in node.js:

/Users/ethers/my-app> npm install --save ethers

Documentation

Browse the API Documentation online.

Documentation is generated using Sphinx and can be browsed locally from the /docs/build/html directory.

Hacking and Contributing

The JavaScript code is now generated from TypeScript, so make sure you modify the TypeScript and compile it, rather than modifying the JavaScript directly. To start auto-compiling the TypeScript code, you may use:

/home/ethers> npm run auto-build

A very important part of ethers is its exhaustive test cases, so before making any bug fix, please add a test case that fails prior to the fix, and succeeds after the fix. All regression tests must pass.

Pull requests are always welcome, but please keep a few points in mind:

  • Compatibility-breaking changes will not be accepted; they may be considered for the next major version
  • Security is important; adding dependencies require fairly convincing arguments
  • The library aims to be lean, so keep an eye on the dist/ethers.min.js filesize before and after your changes
  • Add test cases for both expected and unexpected input
  • Any new features need to be supported by us (issues, documentation, testing), so anything that is overly complicated or specific may not be accepted

If in doubt, please start an issue, and we can have a nice public discussion. :)

Donations

I do this because I love it, but if you want to buy me a coffee, I won't say no. :o)

Ethereum: 0xEA517D5a070e6705Cc5467858681Ed953d285Eb9

License

Completely MIT Licensed. Including ALL dependencies.

tradehub-api-jstso-epoch-poller@jelly-swap/ethereum@energyweb/device-registry@olympfin/olymp-swap-lib@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/ethersdatacontainers@airswap/debuggersmart-solidity-template@amra-finance/ding@inbloxme/wallet-package@hubiinetwork/nahmii-cliumbra-protocolwocode-wallet-ethbuild-testt@worldcerts/oa-verify@worldcerts/open-attestation@worldcerts/worldcert-verifytypechain-plugin-ethers-v5-eventspolymarket-relayerconflux-sponsor-faucet@sirenprotocol/contractsdtrade-jsdtrade-tsmerk-tssubby.js@vocdoni/storage-proof-eth-js@vocdoni/storage-proof-eth@vocdoni/storage-proofsspacefoldhydro-meta-txnumio-meta-txnumio-meta-tx-apinumio-meta-tx-relayerhdwalletcoinoxs@test-org125/merchant-iframeperi-finance-jssdk-8pcaver-web3-01@ncally/xendfinance-sdkverified-sdk-test@horizon-protocol/horizon-jscrypto-wallet-core-vitoweilbith-testverified-sdk@iqprotocolmock/eip155ethers-eventdrtwebdistributed-town-smart-contractsjs-lib-8p@monid/registry-contract@jbox/contractsrgcwebpermissioning-smart-contractsdepay-web3mockaleph-ts-account@radar/dydx-soloethers-contract-hooktest-tony-nguyenrefinable-nft-sdk-testrefinable-sdkswapminingabridge-sdk@manekiswap/manekiswap-sdk@zodiacdao/zodiac@lukso/lspfactory.jstslib-holy@solidstudio/integration-test-utilities@bulla-test1/contracts2@cryptoactions/sdk@nailkhalimov/bunzz@lastrust/bunzz-sdkether-utils@thenextblock/hardhat-weth-pluginstabilawebpackstabilaweb-backup@alphawallet/token-negotiatorvue-hub20-webcrow-sdk-dev@tumakot/orion-trading-sdk@web3-graphql/example-react
5.5.1

1 month ago

5.5.0

1 month ago

5.4.7

2 months ago

5.4.6

3 months ago

5.4.5

3 months ago

5.4.4

4 months ago

5.4.3

4 months ago

5.4.2

4 months ago

4.0.49

4 months ago

5.4.1

5 months ago

5.4.0

5 months ago

5.3.1

6 months ago

5.3.0

6 months ago

5.1.4

7 months ago

5.1.3

7 months ago

5.2.0

6 months ago

5.1.2

7 months ago

5.1.1

7 months ago

5.1.0

8 months ago

5.0.32

9 months ago

5.0.31

10 months ago

5.0.30

10 months ago

5.0.29

10 months ago

5.0.28

10 months ago

5.0.27

10 months ago

5.0.26

11 months ago

5.0.25

11 months ago

5.0.24

12 months ago

5.0.23

1 year ago

5.0.22

1 year ago

5.0.21

1 year ago

5.0.20

1 year ago

5.0.19

1 year ago

5.0.18

1 year ago

5.0.17

1 year ago

5.0.16

1 year ago

5.0.15

1 year ago

5.0.14

1 year ago

5.0.13

1 year ago

5.0.12

1 year ago

5.0.11

1 year ago

5.0.10

1 year ago

5.0.9

1 year ago

4.0.48

1 year ago

5.0.8

1 year ago

5.0.7

1 year ago

5.0.6

1 year ago

5.0.5

1 year ago

5.0.4

1 year ago

5.0.3

1 year ago

5.0.2

1 year ago

5.0.1

1 year ago

5.0.0

1 year ago

5.0.0-beta.192

1 year ago

5.0.0-beta.191

1 year ago

5.0.0-beta.190

1 year ago

5.0.0-beta.189

2 years ago

5.0.0-beta.188

2 years ago

5.0.0-beta.187

2 years ago

5.0.0-beta.186

2 years ago

5.0.0-beta.185

2 years ago

5.0.0-beta.184

2 years ago

5.0.0-beta.183

2 years ago

4.0.47

2 years ago

5.0.0-beta.182

2 years ago

5.0.0-beta.181

2 years ago

5.0.0-beta.180

2 years ago

5.0.0-beta.179

2 years ago

5.0.0-beta.178

2 years ago

5.0.0-beta.177

2 years ago

4.0.46

2 years ago

5.0.0-beta.176

2 years ago

5.0.0-beta.175

2 years ago

5.0.0-beta.174

2 years ago

4.0.45

2 years ago

5.0.0-beta.173

2 years ago

5.0.0-beta.172

2 years ago

4.0.44

2 years ago

5.0.0-beta.171

2 years ago

5.0.0-beta.170

2 years ago

5.0.0-beta.169

2 years ago

5.0.0-beta.168

2 years ago

5.0.0-beta.167

2 years ago

4.0.43

2 years ago

5.0.0-beta.166

2 years ago

5.0.0-beta.165

2 years ago

5.0.0-beta.164

2 years ago

5.0.0-beta.163

2 years ago

4.0.42

2 years ago

4.0.41

2 years ago

5.0.0-beta.162

2 years ago

4.0.40

2 years ago

5.0.0-beta.161

2 years ago

5.0.0-beta.160

2 years ago

4.0.39

2 years ago

4.0.38

2 years ago

5.0.0-beta.159

2 years ago

5.0.0-beta.158

2 years ago

5.0.0-beta.157

2 years ago

4.0.37

2 years ago

5.0.0-beta.156

2 years ago

4.0.36

2 years ago

5.0.0-beta.155

2 years ago

5.0.0-beta.154

2 years ago

5.0.0-beta.153

2 years ago

5.0.0-beta.152

2 years ago

5.0.0-beta.151

2 years ago

5.0.0-beta.150

2 years ago

5.0.0-beta.149

2 years ago

5.0.0-beta.148

2 years ago

5.0.0-beta.147

2 years ago

5.0.0-beta.146

2 years ago

5.0.0-beta.145

2 years ago

5.0.0-beta.144

2 years ago

4.0.33

2 years ago

5.0.0-beta.143

2 years ago

4.0.32

2 years ago

5.0.0-beta.142

2 years ago

5.0.0-beta.141

2 years ago

4.0.31

2 years ago

5.0.0-beta.140

2 years ago

5.0.0-beta.139

2 years ago

4.0.30

2 years ago

4.0.29

2 years ago

5.0.0-beta.138

2 years ago

5.0.0-beta.137

2 years ago

5.0.0-beta.136

3 years ago

4.0.28

3 years ago

5.0.0-beta.135

3 years ago

5.0.0-beta.134

3 years ago

5.0.0-beta.133

3 years ago

5.0.0-beta.132

3 years ago

5.0.0-beta.131

3 years ago

5.0.0-beta.130

3 years ago

5.0.0-beta.129

3 years ago

5.0.0-beta.128

3 years ago

5.0.0-beta.127

3 years ago

5.0.0-beta.126

3 years ago

5.0.0-beta.125

3 years ago

5.0.0-beta.124

3 years ago

5.0.0-beta.123

3 years ago

5.0.0-beta.122

3 years ago

5.0.0-beta.121

3 years ago

5.0.0-beta.120

3 years ago

5.0.0-beta.119

3 years ago

4.0.27

3 years ago

4.0.26

3 years ago

4.0.25

3 years ago

4.0.24

3 years ago

4.0.23

3 years ago

4.0.22

3 years ago

4.0.21

3 years ago

4.0.20

3 years ago

4.0.19

3 years ago

4.0.18

3 years ago

4.0.17

3 years ago

4.0.16

3 years ago

4.0.15

3 years ago

4.0.14

3 years ago

4.0.13

3 years ago

4.0.12

3 years ago

4.0.11

3 years ago

4.0.10

3 years ago

4.0.9

3 years ago

4.0.8

3 years ago

4.0.7

3 years ago

4.0.6

3 years ago

4.0.5

3 years ago

4.0.4

3 years ago

4.0.3

3 years ago

4.0.2

3 years ago

4.0.1

3 years ago

4.0.0

3 years ago

4.0.0-beta.15

3 years ago

3.0.29

3 years ago

3.0.28

3 years ago

4.0.0-beta.14

3 years ago

3.0.27

3 years ago

4.0.0-beta.13

3 years ago

4.0.0-beta.12

3 years ago

4.0.0-beta.11

3 years ago

4.0.0-beta.10

3 years ago

4.0.0-beta.9

3 years ago

4.0.0-beta.8

3 years ago

4.0.0-beta.7

3 years ago

4.0.0-beta.6

3 years ago

3.0.26

3 years ago

4.0.0-beta.5

3 years ago

4.0.0-beta.4

3 years ago

4.0.0-beta.3

3 years ago

4.0.0-beta.2

3 years ago

4.0.0-beta.1

3 years ago

4.0.0-beta.0

3 years ago

3.0.25

3 years ago

3.0.24

3 years ago

3.0.22

3 years ago

3.0.21

3 years ago

3.0.20

3 years ago

3.0.19

3 years ago

3.0.17

4 years ago

3.0.16

4 years ago

3.0.15

4 years ago

3.0.14

4 years ago

3.0.12

4 years ago

3.0.11

4 years ago

3.0.10

4 years ago

3.0.9

4 years ago

3.0.8

4 years ago

3.0.7

4 years ago

3.0.6

4 years ago

3.0.5

4 years ago

3.0.4

4 years ago

3.0.3

4 years ago

3.0.2

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.2.6

4 years ago

2.2.5

4 years ago

2.2.4

4 years ago

2.2.3

4 years ago

2.2.1

4 years ago

2.2.0

4 years ago

2.1.5

4 years ago

2.1.3

4 years ago

2.1.2

4 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago