The Polybase Mainnet is currently invite-only. If you have a production use case and would like to join the private mainnet, please apply here.

Configuring the SDK

To connect to the Polybase Mainnet, you will need to configure the SDK with the following parameters:

import { Polybase } from "@polybase/client";

const db = new Polybase({ 
  baseURL: "https://mainnet.polybase.xyz/v0",
  defaultNamespace: "your-namespace" 
});

// Now you can use the SDK as normal
await db.collection("City").call("setCountry", ["USA"]);