web3dart
A Celo compatible Dart library to connect to Ethereum clients. Send transactions and interact with smart contracts! Pay transaction fees using `feeCurrencies` on Celo.
3.0.3
28K downloads/mo
#1913 most downloaded on pub.dev
xclud/web3dart
What this package is like to depend on
Last release 1 months ago
28 Jun 2026
Release timing varies
gaps range from 2 weeks to 13 months
Most releases are documented
notes for 36 of 45 stable releases
2 versions withdrawn
withdrawn after publishing
9 years old
59 releases · first in 2018
2 releases in the last 12 months
see the full history below
Release timeline
59 releases · Jan 2018 to Jun 2026Releases
latest 59-
3.0.328 Jun 2026 -
3.0.225 Jan 2026 -
3.0.124 May 2025 -
3.0.003 Apr 2025 -
2.7.305 Mar 2024 -
2.7.220 Sep 2023 -
2.7.103 Aug 2023 -
2.7.004 Jul 2023 -
2.6.116 Jan 2023 -
2.6.016 Jan 2023 withdrawnNothing published for this version
-
2.5.304 Jan 2023 -
2.5.207 Dec 2022 -
2.5.129 Nov 2022 -
2.5.024 Nov 2022 -
2.4.106 Jul 2022 -
2.4.002 May 2022 -
2.3.518 Feb 2022 -
2.3.418 Feb 2022 withdrawn -
2.3.310 Nov 2021 -
2.3.204 Nov 2021 -
2.3.109 Sep 2021 -
2.3.005 Sep 2021 -
2.2.012 Aug 2021Release notes
Open source →- Add
EthPrivateKey.publicKeygetters - Fix
window.ethereumalways being non-null, even if no provider is available
- Add
-
2.1.415 Jun 2021 -
2.1.326 May 2021 -
2.1.222 May 2021Release notes
Open source →- Fix contract generation for events
- Don't generate a method for the fallback method
- Fix parsing contract abis in the presence of unknown function types
-
2.1.121 May 2021 -
2.1.009 May 2021Release notes
Open source →- Add
package:web3dart/browser.dart, a library for using this package in Ethereum-enabled browsers. - Add code generator for smart contracts. To use it, just put the generated abi
json into a
.abi.jsonfile, add a dev-dependency onbuild_runnerand run(flutter | dart) pub run build_runner build. - Add the
package:web3dart/contracts/erc20.dartlibrary for interacting with an ERC-20 smart contract.
- Add
-
2.0.028 Apr 2021Release notes
Open source →- Breaking: Renamed
TransactionReceipt.fromJsontoTransactionReceipt.fromMap - Breaking: Removed the
backgroundIsolateoption fromWeb3Client. For background isolates, instead userunner: await IsolateRunner.spawn()frompackage:isolate. - Breaking: Changed
TransactionInformation.randTransactionInformation.sfromUint8ListtoBigInt - Breaking: When not setting the
maxGasargument, this library will now estimate it instead of using a fixed upper bound. - Migrate to null safety
- Add
ecRecoverandisValidSignatureto verify messages. Thanks, brickpop! - Add
compressPublicKeyanddecompressPublicKeyto obtain a compressed or expanded version of keys. - Add
getLogsmethod toWeb3Client. Thanks, jmank88! - Add
sendRawTransactionto send a raw, signed transaction. - Fix
hexToDartIntnot actually parsing hex (#81) - Support for background isolates is temporarily disabled until
package:isolatemigrates to null safety
- Breaking: Renamed
-
2.0.0-dev.919 Dec 2020 pre-releaseNothing published for this version
-
2.0.0-dev.714 May 2020 pre-releaseNothing published for this version
-
2.0.0-dev.623 Apr 2020 pre-releaseNothing published for this version
-
2.0.0-dev.509 Apr 2020 pre-releaseNothing published for this version
-
2.0.0-dev.405 Apr 2020 pre-releaseNothing published for this version
-
2.0.0-dev.302 Apr 2020 pre-releaseNothing published for this version
-
2.0.0-dev.223 Mar 2020 pre-releaseNothing published for this version
-
2.0.0-dev.110 Mar 2020 pre-releaseNothing published for this version
-
2.0.0-dev28 Jan 2020 pre-releaseNothing published for this version
-
1.2.321 Jan 2020 -
1.2.215 Jan 2020 -
1.2.114 Oct 2019Nothing published for this version
-
1.2.013 Oct 2019Release notes
Open source →- Added
estimateGasmethod onWeb3Clientto estimate the amount of gas that would be used by a transaction.
In 1.2.1, the
atBlockparameter onestimateGaswas deprecated and will be ignored. - Added
-
1.1.129 Jul 2019Release notes
Open source →- Fix parsing transaction receipts when the block number is not yet available. Thanks to @chart21 for the fix.
- Fix a typo that made it impossible to load the coinbase address. Thanks to @modulovalue for the fix.
-
1.1.1+105 Aug 2019Nothing published for this version
-
1.1.026 Jul 2019Release notes
Open source →- Added
getTransactionReceiptto get more detailed information about a transaction, including whether it was executed successfully or not.
- Added
-
1.0.004 Jun 2019Release notes
Open source →Basically a complete rewrite of the library * countless bug fixes, a more fluent and consistent api and more features:
- experimental api to perform expensive operations in a background isolate. Set
enableBackgroundIsolateto true when creating aWeb3Clientto try it out. - Events! Use
addedBlocks,pendingTransactionsandeventsfor auto-updating streams. - The client now has a
dispose()method which should be called to stop the background isolate and terminate all running streams.
This version contains breaking changes! Here is an overview listing some of them.
| Before | Updated API | | :------------* | -----:| | Creating credentials via
Credentials.fromPrivateKeyHex| Use theEthPrivateKeyclass or, even better,client.credentialsFromPrivateKey| | Sending transactions or calling contract functions | The api has been changed to just a single methods instead of a transaction builder. See the examples for details. | | Low-level cryptographic operations like signing, hashing and converting hex <-> byte array <-> integer | Not available in the core library. Importpackage:web3dart/crypto.dartinstead |If you run into problems after updating, please create an issue.
- experimental api to perform expensive operations in a background isolate. Set
-
1.0.0-rc.219 May 2019 pre-releaseNothing published for this version
-
1.0.0-rc.109 May 2019 pre-releaseNothing published for this version
-
1.0.0-rc.004 May 2019 pre-releaseNothing published for this version
-
0.4.505 Dec 2018Nothing published for this version
-
0.4.428 Nov 2018Release notes
Open source →- Added
getTransactionByHashmethod * thank you, maxholman! - Allow a different N parameter for scrypt when creating new wallets.
- Added
-
0.4.328 Nov 2018Nothing published for this version
-
0.4.210 Nov 2018Nothing published for this version
-
0.4.115 Sep 2018Nothing published for this version
-
0.3.029 May 2018Nothing published for this version
-
0.2.117 Jan 2018 -
0.2.015 Jan 2018Nothing published for this version
-
0.1.014 Jan 2018Nothing published for this version
-
0.0.213 Jan 2018