Skip to content

Commit

Permalink
feat: chain id support existing starknet chainId and custom ones
Browse files Browse the repository at this point in the history
  • Loading branch information
BenFaruna committed Oct 2, 2024
1 parent cfa3a7c commit 6afdcce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/types/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,6 @@ export type ContractVersion = {
compiler: CompilerVersion;
};

export type ChainId = `0x${string}`;
export type ChainId = '0x534e5f4d41494e' | '0x534e5f5345504f4c4941' | (`0x${string}` & {});

export * from './contract';
2 changes: 0 additions & 2 deletions src/types/provider/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,3 @@ export type RpcProviderOptions = {
};
batch?: false | number;
};

// export type ChainId = `0x${string}`;

0 comments on commit 6afdcce

Please sign in to comment.