Skip to content

superfluid-finance/superfluid-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Superfluid Quickstart : A simple vesting contract

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.

Usage

Before make sure you have Foundry installed.

Install

Installing the dependencies (superfluid-contracts and openzeppelin-contracts)

$ forge install

Build

Building the project

$ forge build

Test

Running the tests

$ forge test

Deploy

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published