Giter Site home page Giter Site logo

bb-offchain-oracle's Introduction

Backbone off-chain "oracle"

How to run

PORT=8000 npm start

Strategy example

module.exports = {
    path: "", // end-point path to be used
    assetID: "", // coingecko asset id for getting the bonded asset value
    gravedigger: {
        contract: "", // address for the gravedigger contract that represents this backbone asset
        rest: "" // rest api to use
    },
    token: {
        name: "", // full name of the backbone asset
        symbol: "", // symbol of the asset
        decimals: 6, // decimals of the asset
        total_supply: 0, // this is filled later on
        circulating_supply: 0, // this is filled later on
        contract_address: "" // contract address or token factory address
    }
}

Response example

{
    "name": "BackBone Labs Liquid Staked HUAHUA",
    "symbol": "bHUAHUA",
    "decimals": 6,
    "total_supply": "1165622841090915",
    "circulating_supply": "1165622841090915",
    "contract_address": "chihuahua1jz5n4aynhpxx7clf2m8hrv9dp5nz83k67fgaxhy4p9dfwl6zssrq3ymr6w",
    "price": 0.00014754727212168092,
    "marketcap": 171984.47052568806
}

bb-offchain-oracle's People

Contributors

bhiiktor avatar

Watchers

 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.