Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On a private testnet, how to get UI working? #6

Open
wbl opened this issue Feb 16, 2022 · 5 comments
Open

On a private testnet, how to get UI working? #6

wbl opened this issue Feb 16, 2022 · 5 comments

Comments

@wbl
Copy link

wbl commented Feb 16, 2022

For reasons I want to do development on a private testnet and make sure my ERC20 contracts work with Uniswap

I ran this script, and deployed some ERC20 tokens, and started hacking on the interface to make it work with the testnet using the addresses from state.json. Unfortunately I was only partially successful. Some documentation, or better yet a way I can dump state.json into the frontend and have it magically pick everything up, would be a big help.

@wbl
Copy link
Author

wbl commented Feb 16, 2022

It seems as though a working V3 router doesn't get deployed by this script, but perhaps I'm missing something.

@wbl
Copy link
Author

wbl commented Feb 16, 2022

I think that the Quoter isn't deployed just a V2 Quoter. Will work to fix this

wbl added a commit to wbl/deploy-v3 that referenced this issue Feb 16, 2022
The Uniswap frontend relies on the original quoter interface and will
not work on a testnet with only quoter v2.

Fixes Issue Uniswap#6
@olahfemi
Copy link

For reasons I want to do development on a private testnet and make sure my ERC20 contracts work with Uniswap

I ran this script, and deployed some ERC20 tokens, and started hacking on the interface to make it work with the testnet using the addresses from state.json. Unfortunately I was only partially successful. Some documentation, or better yet a way I can dump state.json into the frontend and have it magically pick everything up, would be a big help.

Did you later get the UI working on the private testnet? I'm trying to do something similar.

@dapangyu-fish
Copy link

I also encountered the same issue. The deployment script seems to have run successfully, but I'm not sure how to interact with the web interface. When connecting to the wallet using https://app.uniswap.org/#/swap, I receive an error message saying 'Your wallet's current network is unsupported.'

@dapangyu-fish
Copy link

I found a Chinese tutorial titled 'How to make Uniswap v2 decentralized exchange support Ethereum private chain,' and it seems to be feasible."
https://segmentfault.com/a/1190000040404602

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants