Hardhat Mainnet Fork Testing
Set yourself to easily test with Superfluid on a Hardhat fork
All that's needed here is to set up your SDK Core Framework object and you'll be on your way to easily simulating mainnet Superfluid actions the way you would normally.
First, make sure you have these required imports and make yourself an sf
global variable for your Framework object.
Then, create the Framework object, finding the Resolver address from your desired chain on the Contract Addresses page.
Now You're All Set!
Notice that there was no need to deploy the Framework is already exists on the chain you are testing.
Last updated