An open API service indexing awesome lists of open source software.

https://github.com/oraichain/deno-scripts


https://github.com/oraichain/deno-scripts

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        


Oraichain Logo

Oraichain Deno Script

## Document

Notes: Script run from another process, so input in pricefeed as kucoin, gate, ... is a stringify. Follow `Run Locally` to execute the command.

## Run Locally

1. `pricefeed`

```bash
deno run --allow-net --unstable ./src/pricefeed/coinbase.js WyJCVEMiLCAiRVRIIiwgIkJOQiIsICJYUlAiLCAiRE9HRSIsICJVU0RUIiwgIkxJTksiLCAiVU5JIiwgIlVTREMiLCAiQlVTRCIsICJPUkFJIiwgIkRBSSIsICJTT0wiLCAiTUFUSUMiLCAiU1VTSEkiLCAiRE9UIiwgIkxVTkEiLCAiSUNQIiwgIlhMTSIsICJBVE9NIiwgIkFBVkUiLCAiVEhFVEEiLCAiRU9TIiwgIkNBS0UiLCAiQVhTIiwgIkFMR08iLCAiTUtSIiwgIktTTSIsICJYVFoiLCAiRklMIiwgIkFNUCIsICJSVU5FIiwgIkNPTVAiXQ==

# where the input is an array of paremters in base64. The base64 above is decoded to: ["BTC", "ETH", "BNB", "XRP", "DOGE", "USDT", "LINK", "UNI", "USDC", "BUSD", "ORAI", "DAI", "SOL", "MATIC", "SUSHI", "DOT", "LUNA", "ICP", "XLM", "ATOM", "AAVE", "THETA", "EOS", "CAKE", "AXS", "ALGO", "MKR", "KSM", "XTZ", "FIL", "AMP", "RUNE", "COMP"]

# the result returned from the script should be a single console.log form printing a string.
```