Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions configs/envvars/src/genEnvVars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,9 @@ const EXPLORER_API_DEFAULTS: Record<string, string | undefined> = {
1868: "https://soneium.blockscout.com/api",
// Berachain
80094: "https://api.berascan.com/api",
// Odyssey
// Story
1514: "https://www.storyscan.xyz/api/v2/",
1315: "https://aeneid.storyscan.xyz/api/v2",
};

/** API Keys are per-domain */
Expand Down Expand Up @@ -224,8 +225,8 @@ const EXPLORER_API_KEY_DEFAULTS: Record<string, string | undefined> = {
1868: " ",
// Odyssey
// TODO: support blockscout
// 1516: " ",
// 1514: " ",
// 1315: " ",
};

/**
Expand All @@ -247,7 +248,7 @@ export function getEnvVarsForNetworkId(networkId: string): EnvVarDef[] {
//const chainIds = allChains.map((c) => c.chainId);
const chainIds = [
1, 5, 1337, 11155111, 17000, 11155420, 59144, 59140, 137, 80001, 80002, 42161, 421614, 42170, 10, 43114, 43113, 56,
97, 168587773, 8453, 84532, 3441006, 204, 5611, 33139, 33111, 1329, 713715, 1868, 80094, 1516, 1514, 9001,
97, 168587773, 8453, 84532, 3441006, 204, 5611, 33139, 33111, 1329, 713715, 1868, 80094, 1514, 1315, 9001,
];
//TODO: For all networkIds, right now this breaks because file is too big. Is there a better way?
const NETWORK_ENVVARS: EnvVarDef[] = [];
Expand Down
2 changes: 1 addition & 1 deletion packages/chains-deploy/src/setupNetworks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export async function setupNetworksForEnv() {
clientL1: walletClientL1 as any,
bundlerTargetBalance: network.targetRelayerBalance as bigint,
bundlerMinBalance: network.minRelayerBalance as bigint,
paymasterGasBudget: 100_000_000n,
paymasterGasBudget: 10_000_000n,
paymasterTargetBalance: network.targetPaymasterBalance as bigint,
paymasterMinBalance: network.minPaymasterBalance as bigint,
utilityTargetBalance: network.targetUtilityBalance as bigint,
Expand Down
1 change: 1 addition & 0 deletions packages/chains/src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export * from "./seiDevnet.js";
export * from "./sepolia.js";
export * from "./soneium.js";
export * from "./story.js";
export * from "./storyAeneid.js";
export * from "./storyOdyssey.js";
export * from "./zora.js";
export * from "./zoraSepolia.js";
35 changes: 35 additions & 0 deletions packages/chains/src/chains/storyAeneid.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import { defineChain } from "viem/utils";
import { defineNetwork } from "../defineChain.js";

const storyAeneidViem = /*#__PURE__*/ defineChain({
id: 1315,
name: "Story Aeneid",
nativeCurrency: {
decimals: 18,
name: "IP",
symbol: "IP",
},
rpcUrls: {
default: { http: ["https://aeneid.storyrpc.io"] },
},
blockExplorers: {
default: {
name: "Story Aeneid Explorer",
url: "https://aeneid.storyscan.xyz",
apiUrl: "https://aeneid.storyscan.xyz/api/v2",
},
},
testnet: true,
});

export const storyAeneid = /*#__PURE__*/ defineNetwork({
...storyAeneidViem,
rpcUrls: {
...storyAeneidViem.rpcUrls,
public: storyAeneidViem.rpcUrls.default,
},
slug: "storyAeneid",
// TODO: enable again if it works, currently times out
slugAnkr: "story_aeneid_testnet",
enabled: true,
});
2 changes: 1 addition & 1 deletion packages/chains/src/chains/storyOdyssey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ export const storyOdyssey = /*#__PURE__*/ defineNetwork({
slug: "storyOdyssey",
// TODO: enable again if it works, currently times out
// slugAnkr: "story_odyssey",
enabled: true,
enabled: false,
});
Loading