Uniswap / Uniswap/interface

Deploy | Connection to the smart contract

Open
#6,612 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
5.5k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Hello. I hope you're doing well!

I am currently in the process of redeploying the entire Uniswap-V3 project, including contracts and frontend, on Arbitrum Goerli. I have successfully deployed the contracts from the v3-core, v3-periphery, and universal-router repositories on Arbitrum Goerli. Additionally, I have made the necessary modifications to the addresses in the "arbitrum goerli v3 addresses" section of the interface/src/constants/addresses.ts file, replacing them with the addresses of my deployed contracts.

I have 3 questions that I would appreciate your guidance on:

  1. In order to implement basic functionality such as liquidity addition, swapping, and removal, would it be sufficient to deploy the contracts from the aforementioned three repositories?

  2. I noticed that you obtain the UNIVERSAL_ROUTER_ADDRESS by importing '@uniswap/universal-router-sdk'. If I intend to modify it to use my own router address, should I fork the 'universal-router-sdk' repository, then update the UNIVERSAL_ROUTER_ADDRESS constants with my own router address, and then import the modified version as a local dependency in the relevant sections?

  3. Apart from modifying the addresses in the "arbitrum goerli v3 addresses" section of the interface/src/constants/addresses.ts file and the UNIVERSAL_ROUTER_ADDRESS(then import it), are there any other modifications I need to make in order to successfully deploy Uniswap-V3 (including the frontend and contracts) on Arbitrum Goerli, enabling liquidity addition, swapping, and removal?

Thank you for your assistance. I look forward to your response. Thank you very much!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with interface/src/constants/addresses.ts and the @uniswap/universal-router-sdk import. Compare the Arbitrum Goerli configuration with the deployed v3-core, v3-periphery, and universal-router contracts. Done means documenting or confirming every required address and configuration for liquidity addition, swaps, and removal.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.