Documentation
Customizing Endpoints

Customizing Endpoints

Newbie Villa

The endpoint for Crossbell Newbie Villa Backend Service (opens in a new tab) can be customized using the setNewbieVillaEndpoint function.

app.tsx
import { setNewbieVillaEndpoint } from "@crossbell/react-account/endpoints-config";
 
setNewbieVillaEndpoint("https://newbie.crossbell.io/v1/");

Operator Sign

The endpoint for Crossbell Operator Sign Backend Service (opens in a new tab) can be customized using the setOpSignEndpoint function.

app.tsx
import { setOpSignEndpoint } from "@crossbell/react-account/endpoints-config";
 
setOpSignEndpoint({
	endpoint: "https://op-sign.crossbell.io/v1",
	address: "0xbbc2918c9003d264c25ecae45b44a846702c0e7c", // It is the same as the `OP_SIGN_OPERATOR_WALLET_ADDRESS` env variable in your Operator Sign backend service.
});