Skip to content

Commit 9f447d9

Browse files
committed
reverting the layout.tsx file
1 parent 9a12a6a commit 9f447d9

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

apps/demo-app/src/app/layout.tsx

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@ import { AbstraxionProvider } from "@burnt-labs/abstraxion";
55

66
const inter = Inter({ subsets: ["latin"] });
77

8-
// Example XION treasury contract
9-
// const seatContractAddress = "xion1z70cvc08qv5764zeg3dykcyymj5z6nu4sqr7x8vl4zjef2gyp69s9mmdka";
10-
// NOTE: The address below is a placeholder and should be replaced with the actual contract address you want to use.
8+
// Example XION seat contract
119
const seatContractAddress =
12-
"xion12724lueegeee65l5ekdq5p2wtz7euevdl0vyxv7h75ls4pt0qkasvg7tca";
10+
"xion1z70cvc08qv5764zeg3dykcyymj5z6nu4sqr7x8vl4zjef2gyp69s9mmdka";
1311

14-
const treasuryConfig = {
12+
const legacyConfig = {
1513
contracts: [
1614
// Usually, you would have a list of different contracts here
1715
seatContractAddress,
@@ -32,6 +30,15 @@ const treasuryConfig = {
3230
// restUrl: "https://api.xion-mainnet-1.burnt.com:443",
3331
};
3432

33+
const treasuryConfig = {
34+
treasury: "xion1z70cvc08qv5764zeg3dykcyymj5z6nu4sqr7x8vl4zjef2gyp69s9mmdka", // Example XION treasury instance for instantiating smart contracts
35+
gasPrice: "0.001uxion", // If you feel the need to change the gasPrice when connecting to signer, set this value. Please stick to the string format seen in example
36+
enableLogoutOnGrantChange: true, // Enable auto logout when grant changes are detected
37+
// Optional params to activate mainnet config
38+
// rpcUrl: "https://rpc.xion-mainnet-1.burnt.com:443",
39+
// restUrl: "https://api.xion-mainnet-1.burnt.com:443",
40+
};
41+
3542
export default function RootLayout({
3643
children,
3744
}: {

0 commit comments

Comments
 (0)