CRYPTO NEWS

SBF and Alameda step in to prevent crypto collapse contagion

SBF also rejected rumors that Alameda played a part in jeopardizing the stability of Celsius, noting that “this is definitely false. We want to help those we can in the ecosystem, and have no interest in hurting them.”

Testing Uniswap tutorial contracts on local testnet forked from mainnet

I’m following this tutorial to understand Uniswap v3 better: https://docs.uniswap.org/protocol/guides/swaps/single-swaps I’ve wrote the contract and compiled it. I had previously created my own tokens and deployed then, the only difference was – the constructor didn’t expect any argument. This tutorial proposes this constructor: I found the SwapRouter here: https://etherscan.io/address/0xe592427a0aece92de3edee1f18e0157c05861564 So what I tried to do::Listen

I’m following this tutorial to understand Uniswap v3 better: https://docs.uniswap.org/protocol/guides/swaps/single-swaps

I’ve wrote the contract and compiled it. I had previously created my own tokens and deployed then, the only difference was – the constructor didn’t expect any argument.

This tutorial proposes this constructor:

enter image description here

I found the SwapRouter here: https://etherscan.io/address/0xe592427a0aece92de3edee1f18e0157c05861564

So what I tried to do in my Hardhat deployment script is the following: enter image description here

I did use Alchemy.io to fork the mainnet: enter image description here

I took the latest block number from https://etherscan.io/blocks

And ran it as follows: yarn hardhat node assuming my default one will be forking mainnet, and it seems so it did.

Still, I get the error of Artifact not being found if using the code above, or if renaming the contract to just "SwapRouter" it says it cannot find it in the artifacts.

Can anyone point me to a mistake?

Thanks a lot

SBF and Alameda step in to prevent crypto collapse contagion

Shopping cart
There are no products in the cart!
Continue shopping
0