Skip to content

Commit

Permalink
fix: config
Browse files Browse the repository at this point in the history
  • Loading branch information
posaune0423 committed Sep 27, 2024
1 parent 5ce5c39 commit 6ff860e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
7 changes: 0 additions & 7 deletions src/libs/cartriggeController/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import { ControllerOptions } from "@cartridge/controller";
import { manifest } from "../../../dojoConfig";
import { shortString } from "starknet";

const ETH_TOKEN_ADDRESS = "0x49d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7";

const contract = getContractByName(manifest, "pixelaw", "paint_actions");
if (!contract?.address) {
throw new Error("pixelaw paint_actions contract not found");
Expand All @@ -15,11 +13,6 @@ if (!contract?.address) {
const paint_action_contract_address = contract?.address;

const policies = [
{
target: ETH_TOKEN_ADDRESS,
method: "approve",
description: "Lorem Ipsum is simply dummy text of the printing and typesetting industry.",
},
{
target: import.meta.env.VITE_PUBLIC_FEE_TOKEN_ADDRESS,
method: "approve",
Expand Down
2 changes: 1 addition & 1 deletion src/libs/dojo/manifests/slot/deployment/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -1235,7 +1235,7 @@
}
],
"address": "0x263ae44e5414519a5c5a135cccaf3d9d7ee196d37e8de47a178da91f3de9b34",
"transaction_hash": "0x7adbf5f503d501eaacf2e2f9e5c7791aa6cfb4967e082e3be26ea8d7aad81b7",
"transaction_hash": "0x3a6c907a6782b0d14c271fe62a3b3e9652a838e6dc4164fd3dc5a8fd706a4ed",
"block_number": 3,
"seed": "pixelaw",
"metadata": {
Expand Down
4 changes: 2 additions & 2 deletions src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { ThemeProvider } from "./components/ThemeProvider";
import { Toaster } from "./components/ui/Sonner";
import SwipeControl from "./components/SwipeControl";
import { AppProvider } from "./contexts/AppContext";
import { StarknetConfig, voyager } from "@starknet-react/core";
import { StarknetConfig, starkscan } from "@starknet-react/core";
import cartridgeConnector from "@/libs/cartriggeController";
import { sepolia } from "@starknet-react/chains";
import { RpcProvider } from "starknet";
Expand Down Expand Up @@ -46,7 +46,7 @@ const Main = () => {
chains={[sepolia]}
provider={() => new RpcProvider({ nodeUrl: import.meta.env.VITE_PUBLIC_RPC_URL })}
connectors={[cartridgeConnector]}
explorer={voyager}
explorer={starkscan}
autoConnect
>
<DojoProvider value={setupResult}>
Expand Down

0 comments on commit 6ff860e

Please sign in to comment.