Creating Clients
Import the necessary dependencies and create an instance of the ZebecStreamClient
class:
import { ZebecStreamClient } from "@zebec-protocol/zebec-bnb-sdk";
// Create an instance of ZebecStreamClient
const zebecClient = new ZebecStreamClient(signer);
Getting Signer Address
You can get the signer's address using the getSignerAddress()
method:
const signerAddress = await client.getSignerAddress();
console.log("Signer Address:", signerAddress);
Last updated