Git Product home page Git Product logo

tidyergo's Introduction

tidyergo

Overview

Ergo is a resilient blockchain platform for contractual money. In addition to Bitcoin-like blockchain architecture, the Ergo protocol provides advanced contractual capabilities based on the eUTXO model which is not possible with Bitcoin.

This R/Tidyverse package leverages the API endpoints from the official Ergo Node Ergo Explorer and Ergo GraphQL instances. It also incorporates the APIs from ErgoWatch, Spectrum, Tokenjay, ErgoPad and SkyHarbor to retrieve blockchain data across the ecosystem.

Installation

# install.packages("devtools")
devtools::install_github("Eeysirhc/tidyergo")

Usage

library(tidyergo) will load the API endpoints for each service with their own prefix identifier.

Examples

ErgoWatch

Balance history of an address

bearwhale <- "9hyDXH72HoNTiG2pvxFQwxAhWBU8CrbvwtJDtnYoa4jfpaSk1d3"
ew_addressesBalanceHistory(bearwhale)

Current P2PK address count

# addresses holding >= 1M+ $MiGoreng
migoreng <- "0779ec04f2fae64e87418a1ad917639d4668f78484f45df962b0dec14a2591d2"
ew_p2pkCount(bal_ge = 1000000, token_id = migoreng)

Token supply: emitted, circulating, and burned

migoreng <- "0779ec04f2fae64e87418a1ad917639d4668f78484f45df962b0dec14a2591d2"
ew_tokensSupply(migoreng)

ErgoDEX

Retrieve AMM platform statistics

ed_platformStats()

Retrieve statistics for all liquidity pools

ed_allPoolStats()

Packages

Installing this package also installs a selection of other R packages as dependencies.

Contributing

Contributions make the open source community an amazing place to inspire, learn, and create. Thus, any improvements to this package is highly appreciated.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/new-stuff)
  3. Commit your changes (git commit -am "Add new stuff improvements")
  4. Push to branch (git push origin feature/new-stuff)
  5. Open a pull request

tidyergo's People

Contributors

cafebedouin avatar eeysirhc avatar

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.