dart_web3_core 2.5.10 dart_web3_core: ^2.5.10 copied to clipboard
dart_web3_core - a web3 library for dart for interaction with ethereum nodes using HTTP or WebSocket. Supports custom credentials providers like WalletConnect and Metamask.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dart_web3_core
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
dart_web3_core: ^2.5.10
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dart_web3_core/browser.dart';
import 'package:dart_web3_core/contracts.dart';
import 'package:dart_web3_core/contracts/erc20.dart';
import 'package:dart_web3_core/credentials.dart';
import 'package:dart_web3_core/crypto.dart';
import 'package:dart_web3_core/json_rpc.dart';
import 'package:dart_web3_core/webthree.dart';