redstone-finance / redstone-api Goto Github PK
View Code? Open in Web Editor NEWAn api to access trusted token pricing data secured on Arweave and protected by provider's collateral.
An api to access trusted token pricing data secured on Arweave and protected by provider's collateral.
Previously our signature verification was based on arweave signatures. However, we don't store them in DB anymore. We should switch to evm signature verification.
Our current tests in redstone-api send real HTTP requests, which makes them dependent on the network and work more like integration tests. We should mock the HTTP requests to just test the redstone-api code (without testing the real api response).
Let's not remove the old tests. We can move them to the __tests__/real
folder. The new tests (with mocks) can be put to the __tests__/mock
folder.
The call was working for a long time then started to return status 500. This project is getting old with no updates. Is this project no longer in development?
const redstone = require('redstone-api');
const prices = await redstone.getAllPrices();
We would like to analyze price deviation of some assets delivered by RedStone HTTP Api. This information is extremely important for RedStone oracles to evaluate risks and prevent price manipulation attacks.
The full list of assets to analyze is below:
Here is the link to the RedStone HTTP Api documentation: https://api.docs.redstone.finance/http-api/prices
You can use the redstone-avalanche-prod-1
provider.
We would like to analyze historical price of each asset on the max available range (up to 1 year), breaking it on the following time intervals:
We would like to get the chart with the historical deviations for each of the assets (and for each interval).
We would also like to calcualte max deviation (in percents) for each of the assets (and for each interval).
You can work on your own repository and you can use any tools and languages. In case of any questions please feel free to email me at [email protected], I'll be happy to help.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.