ethers

v6.13.3
A complete and compact Ethereum library, for dapps, wallets and any other tools.
ethereum ethers ethersjs

_build-dist

rollup -c && uglifyjs ./dist/ethers.js -o ./dist/ethers.min.js && uglifyjs ./dist/ethers.umd.js -o ./dist/ethers.umd.min.js && uglifyjs ./dist/wordlists-extra.js -o ./dist/wordlists-extra.min.js

_dist-stats

gzip -k9f -S '.gz' ./dist/ethers.min.js && gzip -k9f -S '.gz' ./dist/ethers.umd.min.js && gzip -k9f -S '.gz' ./dist/wordlists-extra.min.js && du -hs ./dist/*.gz && echo '' && du -hs ./dist/*.js

auto-build

npm run build -- -w

build

tsc --project tsconfig.esm.json

build-all

npm run build && npm run build-commonjs

build-clean

npm run clean && npm run build && node lib.esm/_admin/update-version.js && node lib.esm/_admin/update-changelog.js && npm run build-all && npm run _build-dist && npm run _dist-stats

build-commonjs

tsc --project tsconfig.commonjs.json

build-dist

npm run build && npm run _build-dist && npm run _dist-stats

clean

rm -rf dist lib.esm lib.commonjs && cp -r misc/basedirs/* .

postpublish

node lib.esm/_admin/create-release.js

stats

echo 'Dependencies' && npm ls --all --omit=dev

test

npm run test-esm

test-browser

node lib.esm/_admin/test-browser

test-commonjs

mocha --reporter ./reporter.cjs ./lib.commonjs/_tests/test-*.js

test-coverage

c8 -o output -r lcov -r text mocha --no-color --reporter ./reporter.cjs ./lib.esm/_tests/test-*.js | tee output/summary.txt

test-esm

mocha --trace-warnings --reporter ./reporter.cjs ./lib.esm/_tests/test-*.js
npm i ethers

Metadata

  • MIT
  • >=14.0.0
  • Richard Moore
  • released 10/1/2024

Downloads

Maintainers