Zebec Stream Client
Last updated
Last updated
ZebecStreamClient is a client library that provides an interface to interact with the Zebec Stream smart contract. It allows you to perform various operations such as initiating streams, withdrawing tokens, updating streams, and more.
To use the ZebecStreamClient library, you need to have the zebec-bnb-sdk
package installed in your project. You can install them using npm:
To Setup the environment checkout the .env.example at https://github.com/Zebec-protocol/bnb-zebec-sdk.
Variables | Description | Values |
---|---|---|
The test code can also serve as a reference for how to use the ZebecStreamClient
class in practice.
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