Open ggrig opened 3 years ago
From Skype messages:
GG: What is Defi?
RM: Uniswap ALL L2
GG: What are the URLs for defi exchange we socket documentation?
RM: https://docs.1inch.io/api/
GG: What about Yearn Finance?
RM: https://docs.uniswap.org/protocol/V2/reference/API/overview https://docs.yearn.finance/ Use the quickest way of developing a feed js or whatever no need for C but put it in a microservice
GG: No websocket for https://docs.1inch.io/api/ - it all is REST API
RM: its web3 so yes just follow the examples
GG: Where are the examples?
RM: https://docs.1inch.io/api/nodejs-web3-example
GG: From https://dappgrid.com/1inch-exchange-review/ "... You can connect your web3 wallet to 1inch.exchange and swap ERC-20 tokens at the best prices in the market...." The example you've shared does that (https://docs.1inch.io/api/nodejs-web3-example) As much as I get this is not what you are after You need info on all the trades. Right?
RM: yes you are correct just l2 feeds easiest way of getting them
GG: Looking for how those might be obtained. It looks like with yearn finance is similar See https://docs.yearn.finance/yearn-finance/yvaults/overview They trade for your sake but do not share the transactions chain
From Skype messages:
GG: What is Defi?
RM: Uniswap ALL L2
GG: What are the URLs for defi exchange we socket documentation?
RM: https://docs.1inch.io/api/
GG: What about Yearn Finance?
RM: https://docs.uniswap.org/protocol/V2/reference/API/overview https://docs.yearn.finance/ Use the quickest way of developing a feed js or whatever no need for C but put it in a microservice
GG: No websocket for https://docs.1inch.io/api/ - it all is REST API
RM: its web3 so yes just follow the examples
GG: Where are the examples?
RM: https://docs.1inch.io/api/nodejs-web3-example
GG: From https://dappgrid.com/1inch-exchange-review/ "... You can connect your web3 wallet to 1inch.exchange and swap ERC-20 tokens at the best prices in the market...." The example you've shared does that (https://docs.1inch.io/api/nodejs-web3-example) As much as I get this is not what you are after You need info on all the trades. Right?
RM: yes you are correct just l2 feeds easiest way of getting them
GG: Looking for how those might be obtained. It looks like with yearn finance is similar See https://docs.yearn.finance/yearn-finance/yvaults/overview They trade for your sake but do not share the transactions chain