Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bakaoh/mkrpermafeed
MakerDAO platform data statistics on Arweave
https://github.com/bakaoh/mkrpermafeed
arweave makerdao permafeed
Last synced: about 1 month ago
JSON representation
MakerDAO platform data statistics on Arweave
- Host: GitHub
- URL: https://github.com/bakaoh/mkrpermafeed
- Owner: bakaoh
- Created: 2019-11-22T02:55:08.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T14:23:12.000Z (about 2 years ago)
- Last Synced: 2023-02-26T17:03:28.867Z (almost 2 years ago)
- Topics: arweave, makerdao, permafeed
- Language: CSS
- Homepage: https://bakaoh.com/MkrPermafeed/client/
- Size: 840 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MakerDAO Permafeed
Track **MakerDAO** platform data statistics.
Stats are pulled directly from the Ethereum blockchain and stored in **Arweave** for faster
historical querying.## Demo graph
For realtime graphs, please go [here](https://bakaoh.com/MkrPermafeed/client/#demo)
![graph](/graph.png "graph")
## What's included
Data is archived from address `nSe8ZKhDu3v4CH0GFiZXzVWA1clYrT2_R46ApDtu2TA` hourly in `Json` format:
```
{
"utc": "Fri, 22 Nov 2019 01:21:49 GMT",
"ethPrice": "161.07 USD/ETH",
"mkrPrice": "529.41 USD/MKR",
"pethPrice": "168.54 USD/PETH",
"daiSupply": "92146643.42 DAI",
"wethToPeth": 1.0464370394605356,
"collateralization": 3.015935426996438
}
```|Name|Description|Unit|Example|
|---|---|---|---|
|utc|Time in UTC| |Fri, 22 Nov 2019 01:21:49 GMT|
|ethPrice|ETH Price|USD/ETH|161.02 USD/ETH|
|mkrPrice|MKR Price|USD/MKR|529.41 USD/MKR|
|pethPrice|PETH Price|USD/PETH|168.50 USD/PETH|
|daiSupply|DAI Supply|DAI|92146643.42 DAI|
|wethToPeth|WETH To PETH ratio| |1.0464370394605356|
|collateralization|Collateralization| |3.015092803867795|Each data point is also attached to these tags:
* `Stream-Name` is always `mkr`, use to search for all transactions in the stream.
* `Date` in `YYYY-MM-DD` format, use to search data points by date.
* `Hour` in `hh` format, use to chart by 1h, 3h, 1D...## ArQL Example
* Get all data point:
```
{
op: "and",
expr1: {
op: "equals",
expr1: "from",
expr2: "nSe8ZKhDu3v4CH0GFiZXzVWA1clYrT2_R46ApDtu2TA"
},
expr2: {
op: "equals",
expr1: "Stream-Name",
expr2: "mkr"
}
}
```* Get data points by date `2019-11-22`:
```
{
op: "and",
expr1: {
op: "equals",
expr1: "from",
expr2: "nSe8ZKhDu3v4CH0GFiZXzVWA1clYrT2_R46ApDtu2TA"
},
expr2: {
op: "and",
expr1: {
op: "equals",
expr1: "Date",
expr2: "2019-11-22"
},
expr2: {
op: "equals",
expr1: "Stream-Name",
expr2: "mkr"
}
}
}
```* Get data daily at `00:00 AM`:
```
{
op: "and",
expr1: {
op: "equals",
expr1: "from",
expr2: "nSe8ZKhDu3v4CH0GFiZXzVWA1clYrT2_R46ApDtu2TA"
},
expr2: {
op: "and",
expr1: {
op: "equals",
expr1: "Hour",
expr2: "0"
},
expr2: {
op: "equals",
expr1: "Stream-Name",
expr2: "mkr"
}
}
}
```