Guys quick help with truffle , Suppose my repo has contracts in different directories and build artificats in different directories , What i understand is that you need all your contracts and build artifacts in the same directory , How can i deploy contracts with contracts in different directories and also different artifact directories in truffle

Oct 16, 2020, 3:03 PM
You can specify file location in deployer
Check truffle docs
Oct 16, 2020, 3:06 PM
Yes but the build artifacts are different to
I checked the truffle docs couldnt find anything that
Oct 16, 2020, 3:07 PM
Usually compiling will bring artifacts to same location
To the build directory
Oct 16, 2020, 3:11 PM
The uniswap repo bro , Different directories
and they specifically mention to use the build artifacts because v2 library uses hash of the depoloyed byte code to compute pair addresses , i honestly dont even know what this means
But i am unable to get the router to work on ganache , even though the factory and the pair seem to working , cant add liquidity
Cant figure out what i am doing wrong
Oct 16, 2020, 3:13 PM

© 2024 Draquery.com All rights reserved.