10 Best JavaScript Ethereum Smart Contract Libraries

List hand-picked by Openbase Experts
Learn More

hardhat

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software. Get Solidity stack traces & console.log.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.5/ 5
2
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
68K
Last Commit
1mo ago

@ethereum-waffle/ens

Library for writing and testing smart contracts.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
657
Weekly Downloads
49K
Last Commit
4mos ago
hcs

hardhat-contract-sizer

Output Solidity contract sizes with Hardhat 📐

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
21
Weekly Downloads
10K
Last Commit
4mos ago
eid

ethereum-input-data-decoder

Ethereum smart contract transaction input data decoder

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
1Great Documentation
1Easy to Use
1Performant
GitHub Stars
334
Weekly Downloads
2K
Last Commit
4mos ago

@truffle/codec

A tool for developing smart contracts. Crafted with the finest cacaos.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
12K
Weekly Downloads
63K
Last Commit
1mo ago

@nomiclabs/hardhat-ethers

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software. Get Solidity stack traces & console.log.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
47K
Last Commit
1mo ago

@nomiclabs/hardhat-waffle

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software. Get Solidity stack traces & console.log.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
39K
Last Commit
1mo ago

@truffle/db

A tool for developing smart contracts. Crafted with the finest cacaos.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User RatingN/A
Top Feedback
N/A
GitHub Stars
12K
Weekly Downloads
31K
Last Commit
1mo ago

@nomiclabs/hardhat-etherscan

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software. Get Solidity stack traces & console.log.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
25K
Last Commit
1mo ago

@nomiclabs/hardhat-web3

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software. Get Solidity stack traces & console.log.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
8K
Last Commit
1mo ago

@nomiclabs/hardhat-truffle5

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software. Get Solidity stack traces & console.log.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
7K
Last Commit
1mo ago

@openzeppelin/contracts

OpenZeppelin Contracts is a library for secure smart contract development.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User RatingN/A
Top Feedback
N/A
GitHub Stars
15K
Weekly Downloads
102K
Last Commit
1mo ago

@eth-optimism/contracts

The Optimism monorepo

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
823
Weekly Downloads
4K
Last Commit
2mos ago

@nomiclabs/buidler

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software. Get Solidity stack traces & console.log.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
2K
Last Commit
1mo ago

@keep-network/keep-core

The smart contracts and reference client behind the Keep network

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User RatingN/A
Top Feedback
N/A
GitHub Stars
85
Weekly Downloads
951
Last Commit
1mo ago

web3-eth-contract

Ethereum JavaScript API

License Icon
License: LGPL-3.0
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
13K
Weekly Downloads
358K
Last Commit
1mo ago

web3-eth

Ethereum JavaScript API

License Icon
License: LGPL-3.0
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
13K
Weekly Downloads
346K
Last Commit
1mo ago

@truffle/external-compile

A tool for developing smart contracts. Crafted with the finest cacaos.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User RatingN/A
Top Feedback
N/A
GitHub Stars
12K
Weekly Downloads
876
Last Commit
1mo ago

@nomiclabs/buidler-web3

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software. Get Solidity stack traces & console.log.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
553
Last Commit
1mo ago
hd

hardhat-deploy

hardhat deployment plugin

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
370
Weekly Downloads
21K
Last Commit
1mo ago

@nomiclabs/buidler-ethers

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software. Get Solidity stack traces & console.log.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
368
Last Commit
1mo ago

@nomiclabs/buidler-waffle

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software. Get Solidity stack traces & console.log.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
353
Last Commit
1mo ago

@openzeppelin/contracts-upgradeable

Upgradeable variant of OpenZeppelin Contracts, meant for use in upgradeable contracts.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User RatingN/A
Top Feedback
N/A
GitHub Stars
352
Weekly Downloads
19K
Last Commit
1mo ago

synthetix

Synthetix Solidity smart contracts

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
670
Weekly Downloads
3K
Last Commit
2mos ago

@nomiclabs/buidler-etherscan

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software. Get Solidity stack traces & console.log.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
148
Last Commit
1mo ago

@ethereum-waffle/provider

Library for writing and testing smart contracts.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
657
Weekly Downloads
50K
Last Commit
4mos ago

@ethereum-waffle/mock-contract

Library for writing and testing smart contracts.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
657
Weekly Downloads
48K
Last Commit
4mos ago

@ethereum-waffle/chai

Library for writing and testing smart contracts.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
657
Weekly Downloads
47K
Last Commit
4mos ago

ethereum-waffle

Library for writing and testing smart contracts.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
657
Weekly Downloads
45K
Last Commit
4mos ago

@ethereum-waffle/compiler

Library for writing and testing smart contracts.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
657
Weekly Downloads
44K
Last Commit
4mos ago

@0x/contract-wrappers

Wrappers for 0x smart contract wrappers generated using @0x/abi-gen

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
101
Weekly Downloads
3K
Last Commit
1mo ago

@openzeppelin/contracts-ethereum-package

OpenZeppelin Contracts is a library for secure smart contract development.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User RatingN/A
Top Feedback
N/A
GitHub Stars
15K
Weekly Downloads
2K
Last Commit
1mo ago
ec

eth-crypto

Cryptographic javascript-functions for ethereum and tutorials to use them with web3js and solidity

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
594
Weekly Downloads
7K
Last Commit
1mo ago

@uma/contracts-node

UMA Protocol Running on Ethereum

License Icon
License: AGPL-3.0-or-later
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
253
Weekly Downloads
187
Last Commit
1mo ago

@0x/contracts-utils

Smart contract utils of 0x protocol

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Not Found
User RatingN/A
Top Feedback
N/A
GitHub Stars
101
Weekly Downloads
804
Last Commit
1mo ago

opensea-js

JavaScript SDK for the OpenSea marketplace. Let your users buy or sell cryptogoods on your own site!

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1K
Weekly Downloads
6K
Last Commit
1mo ago

prb-math

Smart contract library for advanced fixed-point math

License Icon
License: Unlicense
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
169
Weekly Downloads
760
Last Commit
23d ago

@synthetixio/contracts-interface

Standard JS conventions and utilities for working with Synthetix

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
6
Weekly Downloads
202
Last Commit
1mo ago

@0x/contracts-exchange

Smart contract components of 0x protocol

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Not Found
User RatingN/A
Top Feedback
N/A
GitHub Stars
101
Weekly Downloads
441
Last Commit
1mo ago
hae

hardhat-abi-exporter

🧰 Export Solidity contract ABIs on compilation ⚙️

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
14
Weekly Downloads
6K
Last Commit
25d ago

@requestnetwork/smart-contracts

A JavaScript library for interacting with the Request Network protocol

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
329
Weekly Downloads
449
Last Commit
2mos ago

@enzymefinance/protocol

Enzyme Protocol Implementation

License Icon
License: GPL-3.0
TypeScript Icon
TypeScript Definitions: Not Found
User RatingN/A
Top Feedback
N/A
GitHub Stars
282
Weekly Downloads
240
Last Commit
2mos ago

@hifi/protocol

Monorepo implementing the Hifi fixed-rate, fixed-term lending protocol

License Icon
License: LGPL-3.0-or-later
TypeScript Icon
TypeScript Definitions: Not Found
User RatingN/A
Top Feedback
N/A
GitHub Stars
42
Weekly Downloads
54
Last Commit
1mo ago
hde

hardhat-deploy-ethers

Hardhat plugin for ethers that plays well with hardhat-deploy

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
16
Weekly Downloads
14K
Last Commit
4mos ago

tribute-contracts

A new modular DAO framework, inspired by the Moloch smart contracts

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
142
Weekly Downloads
120
Last Commit
1mo ago

@openzeppelin/test-helpers

Assertion library for Ethereum smart contract testing

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User RatingN/A
Top Feedback
N/A
GitHub Stars
287
Weekly Downloads
16K
Last Commit
3mos ago

@tenderly/hardhat-tenderly

Tenderly plugin for HardHat

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
30
Weekly Downloads
6K
Last Commit
2mos ago

@reality.eth/contracts

Monorepo containing reality.eth contracts, UI code and everything else.

License Icon
License: GPL-3.0
TypeScript Icon
TypeScript Definitions: Not Found
User RatingN/A
Top Feedback
N/A
GitHub Stars
16
Weekly Downloads
43
Last Commit
2mos ago

@lukso/universalprofile-smart-contracts

The reference implementation for universal profiles smart contracts

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Not Found
User RatingN/A
Top Feedback
N/A
GitHub Stars
18
Weekly Downloads
68
Last Commit
2mos ago
hgr

hardhat-gas-reporter

Gas usage per unit test. Average gas usage per method. (eth-gas-reporter for Hardhat)

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
134
Weekly Downloads
24K
Last Commit
2mos ago