Superfluid is a token-centric infrastructure protocol for EVM-compatible blockchains, enabling developers to create one-to-one and many-to-manymoney streams (a second-by-second token distribution).
This project uses Foundry to build and test a simple vesting contract.
Before make sure you have Foundry installed.
Installing the dependencies (superfluid-contracts and openzeppelin-contracts)
$ forge install
Building the project
$ forge build
Running the tests
$ forge test
Deploying the contract to a live network
$ forge create --rpc-url <your_rpc_url> \
--constructor-args <host_address>\
--private-key <your_private_key> \
--etherscan-api-key <your_etherscan_api_key> \
--verify \
src/SuperfluidVesting.sol:SuperfluidVesting
note: you can find the host address in The Superfluid Explorer