Git Product home page Git Product logo

webserver's Introduction

Owlracle Web

This is the webserver and frontend code for Owlracle website. If you want to check the gas price oracle repo, check here.

Motivation

When the dawn of smart networks arrived, dapp developers saw the need to know the gas price they should pay for submitting a transaction in those networks. While those developers could fetch the last transactions and look at the gas price paid, this method is not reliable enough as gas prices wildly fluctuate between each transaction. So the gas price oracles arrived to help solving this problem.

Inspired by works like ethgasstation, I have decided to create a gas price oracle working on several networks. Right now we provide estimations for Ethereum, Binance Smart Chain, Polygon, Fantom, Avalanche, Moonriver, and Cronos networks. Services like owlracle are a way to remove this burden from your servers (this can be somewhat resource-intensive), while providing API to help integrate your dapps to our predictions.

Gas Price Estimation

/gas endpoint retrive not only the average gas price paid in the last N transactions in the chosen network, but also the average gas fee (in USD) paid and native token price. The main difference from other API oracle services is that Owlracle endpoint return fully customized information:

  • How many transactions in the past will be analysed for making the calculations? Default 200 blocks in the past;
  • What is the desired transaction acceptance rate you are looking for? e.g. 60% blocks accepted a transaction using a given gas price.
  • How many acceptance rates you want to track? You can provice a list. In practice, this is the same as speeds from similar services. But in Owlracle, you can fully customize it.
  • Number of lowest gas transactions to be considered when calculating minimum gas price accepted by the block.

Gas price history

/history endpoint retrieve candlestick information about historic gas prices, native token price, and gas fee (in USD) paid over the course of time. You can customize the desired timeframe, and the time period of the search.

Want to know more? Check owlracle.info for a full documentation.


Support our project! We accept any token donation on BSC, Polygon, Fantom, Ethereum, Avalanche, Moonriver, and Cronos networks.

webserver's People

Contributors

werlang avatar

Forkers

florianfranzen

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.