CrestFi Stream Client
Last updated
Last updated
CrestFiStreamClient is a client library that provides an interface to interact with the CrestFi Stream smart contract. It allows you to perform various operations such as initiating streams, withdrawing tokens, updating streams, and more.
To use the CrestFiStreamClient library, you need to have the crest-bnb-sdk
package installed in your project. You can install them using npm:
To Setup the environment checkout the .env.example at .
VariablesDescriptionValues
CHAIN_ID
Chain Ids
56, 22222(Nautilus), 5, 97
SDK_ENV
Environment to work on : "production" or "test"
"production" if you are working on mainnet and "test" for testnets
The can also serve as a reference for how to use the CrestFiStreamClient
class in practice.