Rust SDK
Integrate streaming capabilities within a Solana program
Declare a dependency in your program's Cargo.toml
To use protocol on mainnet add sdk with mainnet
feature
Example anchor program invoking streamflow create instruction:
Protocol | a program that lives on chain, an implementation of Scheduled Token Transfer |
Stream | an entity that is created by the Protocol, contains information about Token Transfer |
Contract | a synonym for a Stream. In the code there is no consistency how we name it, in the Protocol we often use |
Sender | an account that creates a Scheduled Token Transfer |
Recipient | an account that is the receiver of Tokens |
Referral | an account that will be used to calculate streamflow and referral fees when creating a Stream |
Partner | a synonym for a Referral |
Treasury | a Streamflow account that receives fees as a reward |
Withdrawor | a Streamflow account that processes automated Token Transfers to the Recipient |
Protocol | a program that lives on chain, an implementation of Scheduled Token Transfer |
Stream | an entity that is created by the Protocol, contains information about Token Transfer |
Last updated