Skip to content

Commit 672464b

Browse files
authored
Merge pull request #16 from hypercerts-org/feat/filecoin_calibration_support
Feat/filecoin calibration support
2 parents a84622d + bc8fde0 commit 672464b

File tree

5 files changed

+31
-7
lines changed

5 files changed

+31
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
],
2323
"dependencies": {
2424
"@graphql-typed-document-node/core": "^3.2.0",
25-
"@hypercerts-org/contracts": "2.0.0-alpha.9",
25+
"@hypercerts-org/contracts": "2.0.0-alpha.10",
2626
"@openzeppelin/merkle-tree": "^1.0.7",
2727
"@swc/core": "^1.6.3",
2828
"ajv": "^8.11.2",

pnpm-lock.yaml

Lines changed: 23 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/constants.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ const DEPLOYMENTS: { [key in SupportedChainIds]: Deployment } = {
5151
addresses: deployments[421614],
5252
isTestnet: true,
5353
} as const,
54+
314159: {
55+
chainId: 314159,
56+
addresses: deployments[314159],
57+
isTestnet: true,
58+
} as const,
5459
};
5560

5661
export { ENDPOINTS, DEPLOYMENTS };

src/types/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { HypercertMetadata } from "./metadata";
44
import { ByteArray, Hex, PublicClient, WalletClient } from "viem";
55
import { AxiosRequestConfig } from "axios";
66

7-
export type TestChainIds = 11155111 | 84532 | 421614;
7+
export type TestChainIds = 11155111 | 84532 | 421614 | 314159;
88
export type ProductionChainIds = 10 | 42220 | 8453 | 42161;
99

1010
/**

src/utils/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import { createPublicClient, http } from "viem";
1919
* - 8453: Base Mainnet
2020
* - 42161: Arbitrum One
2121
* - 421614: Arbitrum Sepolia
22+
* - 314159: Filecoin Calibration
2223
*
2324
* @param config - An object containing any configuration values to override. This should be a partial HypercertClientConfig object.
2425
* @returns The final configuration object for the Hypercert client.

0 commit comments

Comments
 (0)