A Celo compatible Dart library to connect to Ethereum clients
open sourceMITfree
web3dart is a Dart library for talking to Ethereum nodes over their RPC API, from Dart and Flutter apps. It signs and sends transactions, generates private keys and addresses, reads version 3 wallet files, calls smart contract functions and listens for their events, and generates Dart code from a contract's ABI. It's also compatible with Celo, where transaction fees can be paid with feeCurrencies. Simon Binder wrote it; since the original repository was archived in 2022, the web3dart package on pub.dev has been published from Mahdi K. Fard's fork.
Problems it solves
- send Ethereum transactions from my Flutter app
- call a smart contract and listen for its events from Dart
- generate Dart bindings for my Solidity contract from its ABI
- create a wallet address and sign transactions in a Dart app
Features
- call common Ethereum node methods over the RPC API
- sign and send Ethereum transactions
- generate private keys and new addresses
- call smart contract functions and listen for contract events
- Dart code generation from a contract's ABI
- Celo compatible, with fees paid through feeCurrencies
