Search packages, repositories and app categories

GitHub repositoryxclud/dart_eip1559

dart_eip1559

EIP-1559 Ethereum and Web3 market fee and gas estimation.

dart_eip1559 project cover
Stars
0
Forks
1
Last push (UTC)
Jul 4, 2023
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

pub package

EIP-1559 Ethereum and Web3 market fee and gas estimation for Dart.

Getting Started

In your pubspec.yaml file add:

dependencies:
  eip1559: any

Then, in your code import and use the package:

import 'package:eip1559/eip1559.dart';

const infuraId = 'YOUR_INFURA_ID';

void main() {
  const url = 'https://mainnet.infura.io/v3/$infuraId';
  var rates = getGasInEIP1559(url);
  print(rates);
}
Mahdi K. Fard GitHub avatar
GitHub author

Mahdi K. Fard ↗

Developer Advocate

Tehran, Iran
LanguagesDart

Categories

Packages published by this repository

Dependencies used

Dependency list 3 items

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗