Testing Guide

How to test with Superfluid actions in Foundry & Hardhat

Learn how to deploy the Superfluid Framework locally and mint fake Super Tokens to get set with your testing.

💡 These examples reference the MoneyRouter contract which is covered in detail in this video on money streaming in solidity.

But what about truffle/brownie/other environments?

We have a legacy truffle example that you can find here. It is very similar to the Hardhat example above, but with some minor differences in terms of imports & scripts used for framework deployment.

A brownie/python example is in the works. Stay tuned (:

If you have any questions on how to set up your tests for a Superfluid project, please contact us in Discord.

Last updated

Was this helpful?