🌲
Teller v2
Dev Guide
Dev Guide
  • Introduction
  • Borrow
    • Getting a loan offer
    • Executing a Loan
  • ROLLOVER
    • Getting Rollover Details
    • Executing a Rollover
  • REPAY
    • Getting Repay Details
    • Executing a Repayment
Powered by GitBook
On this page
  • Subgraph endpoints
  • Contract addresses
  • TellerV2
  • LenderCommitmentForwarderAlpha
  • Rollover

Introduction

NextGetting a loan offer

Last updated 7 months ago

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 to interact with the EVM

  • You have added our NPM package containing the contracts

  • You have an API key to use our subgraph. You can follow the guide 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

Mainnet
0x00182FdB0B880eE24D428e3Cc39383717677C37e

Base

0x5cfD3aeD08a444Be32839bD911Ebecd688861164

Arbitrum

0x5cfD3aeD08a444Be32839bD911Ebecd688861164

LenderCommitmentForwarderAlpha

Mainnet
0x0D1047229B9851eACE463Fb25f27982a5127c20F

Base

0xfA87381128aAF95fB637BbA0B760bA2f9970c2b5

Arbitrum

0x6455F2E1CCb14bd0b675A309276FB5333Dec524f

Rollover

Mainnet
0xf236d5Cc4d45eA0eF223Bfdf9583e655f51C12fB

Base

0x7bFE23e80F9DfFBbb3E1FB613eB4F5a617073fa5

Arbitrum

0xef20ec912F7183B3ddA18F3Ad990E06f0b5dC670

wagmi
over here
here