Skip to content

Commit

Permalink
Test txn cost
Browse files Browse the repository at this point in the history
  • Loading branch information
broody committed Aug 12, 2024
1 parent 5767223 commit b7a0b9e
Showing 1 changed file with 4 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,7 @@ export function StarknetProvider({ children }: PropsWithChildren) {
);
}

const url =
!process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL ||
process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL.split(".")[0] ===
"cartridge-starknet-react-next"
? process.env.XFRAME_URL
: "https://" +
(process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL ?? "").replace(
"cartridge-starknet-react-next",
"keychain",
);
const url = "https://x.cartridge.gg";

function provider(chain: Chain) {
switch (chain) {
Expand Down Expand Up @@ -79,9 +70,9 @@ const connectors = [
{
url,
rpc: process.env.NEXT_PUBLIC_RPC_SEPOLIA,
paymaster: {
caller: shortString.encodeShortString("ANY_CALLER"),
},
// paymaster: {
// caller: shortString.encodeShortString("ANY_CALLER"),
// },
// theme: "dope-wars",
// colorMode: "light"
// prefunds: [
Expand Down

0 comments on commit b7a0b9e

Please sign in to comment.