Introduction
This guide will serve as a way to integrate your current front end with our contracts.
These assumptions apply to all sections in this guide
You are using a react based app (either next.js/vite/create react app)
You are using wagmi to interact with the EVM
You have added our NPM package containing the contracts over here
You have an API key to use our subgraph. You can follow the guide here to create your API key.
Subgraph endpoints
These are the subgraph endpoint urls on each network:
Mainnet: https://gateway-arbitrum.network.thegraph.com/api/{api-key}/subgraphs/id/B6FW3z7yLTJKVuqz6kLDJAwJru1T89j4ww5JfY3GYX8F
Polygon: https://gateway-arbitrum.network.thegraph.com/api/{api-key}/subgraphs/id/8bjHtQZ9PZUMQAbCGJw5Zx2SbZZY2LQz8WH3rURzN5do
Base: https://gateway-arbitrum.network.thegraph.com/api/{api-key}/subgraphs/id/ArZjkaosc5rmBoYqprFWomvnjKSFMGkPFD7yuaZGuqQo
Arbitrum: https://api.studio.thegraph.com/query/51204/tellerv2-arbitrum/v0.4.21-16
Contract addresses
TellerV2
Base
0x5cfD3aeD08a444Be32839bD911Ebecd688861164
Arbitrum
0x5cfD3aeD08a444Be32839bD911Ebecd688861164
LenderCommitmentForwarderAlpha
Base
0xfA87381128aAF95fB637BbA0B760bA2f9970c2b5
Arbitrum
0x6455F2E1CCb14bd0b675A309276FB5333Dec524f
Rollover
Base
0x7bFE23e80F9DfFBbb3E1FB613eB4F5a617073fa5
Arbitrum
0xef20ec912F7183B3ddA18F3Ad990E06f0b5dC670
Last updated