🗃️SDK
Installation
npm install basepass-sdkQuick Start
import { BasePass } from "basepass-sdk";
const bp = new BasePass({
creatorWallet: "0xYOUR_CREATOR_ADDRESS",
});
const hasAccess = await bp.checkAccess("0xSUBSCRIBER_WALLET");Configuration
const bp = new BasePass({
creatorWallet: "0xCREATOR", // required
network: "mainnet", // "mainnet" (default) or "sepolia"
rpcUrl: "https://custom.rpc", // optional custom RPC
});Methods
checkAccess(walletAddress)
checkAccess(walletAddress)getSubscriptionStatus(walletAddress)
getSubscriptionStatus(walletAddress)getCreatorInfo()
getCreatorInfo()Integration Examples
Was this helpful?

