BaseCash

SDK

Read-only helpers for the current BaseCash testnet build.

The SDK module normalizes Base Sepolia addresses, BCS amounts, public config, and readiness labels. It does not sign, prove, submit, relay, or hold private note material.

Import

import {
  createBaseCashSdkConfig,
  describeBaseCashSdkReadiness,
  normalizeBcsAmount
} from "./basecash-sdk-v1.mjs";

Use

const config = createBaseCashSdkConfig({
  tokenAddress,
  poolAddress,
  thirdwebPurchaseUrl
});

const readiness = describeBaseCashSdkReadiness(config);
const amountAtomic = normalizeBcsAmount("1.25");
Allowed

Public config checks, display readiness, Base Sepolia address validation, and BCS amount normalization.

Blocked

No private keys, note secrets, witnesses, viewing keys, proofs, wallet signing, or broadcasts.

Next

A package-style SDK can be split out after the live BCS and pool route are verified.