-
Notifications
You must be signed in to change notification settings - Fork 390
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
Added ethers and UniswapV2 #17
base: master
Are you sure you want to change the base?
Conversation
Nice sharing. May i know what is the router.address for uniswap? Where can i find it in the documentation? |
Get this error "Error: Cannot find module '...\node_modules@studydefi\money-legos\index.js'. Please verify that the package.json has a valid "main" entry" when trying to run the code. It seems like it is due to the @studydefi issue. Any idea on this issue? |
I tried using the contract address from here and it worked https://etherscan.io/address/0x7a250d5630b4cf539739df2c5dacb4c659f2488d |
0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D |
get this error no matter what i try, need help? |
That means @studydefi\money-legos is not installed in your project. Try: npm i @studydefi/money-legos |
"npm i ethers" will solve this issue. |
Hey, I created an example with ethers and UniV2. I thought I'd contribute it back - thanks!