Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit 74f9186

Browse files
committed
feat(mint): mint on base sepolia in fe
1 parent 30e175a commit 74f9186

File tree

14 files changed

+65
-33
lines changed

14 files changed

+65
-33
lines changed

contracts/RELEASE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.1.2
2+
3+
- Add Base and Base Sepolia to types
4+
15
# 1.1.1
26

37
- Improve ESM support by exporting `index.mjs` instead of `index.js`. @baumstern

contracts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@hypercerts-org/contracts",
33
"description": "EVM compatible protocol for managing impact claims",
4-
"version": "1.1.1",
4+
"version": "1.1.2",
55
"author": {
66
"name": "Hypercerts Foundation",
77
"url": "https://github.com/hypercerts-org/hypercerts"

contracts/src/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ const deployments = {
7272
...DEPLOYMENTS.protocol["11155111"],
7373
...DEPLOYMENTS.marketplace["11155111"],
7474
},
75+
84532: {
76+
...DEPLOYMENTS.protocol["84532"],
77+
},
78+
8453: {
79+
...DEPLOYMENTS.protocol["8453"],
80+
},
7581
} as Record<DeployedChains, Deployment>;
7682

7783
const asDeployedChain = (chainId: string | number) => {

defender/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"dependencies": {
1717
"@graphql-mesh/cache-localforage": "^0.95.7",
18-
"@hypercerts-org/contracts": "1.1.1",
18+
"@hypercerts-org/contracts": "1.1.2",
1919
"@openzeppelin/defender-autotask-client": "1.54.1",
2020
"@openzeppelin/defender-autotask-utils": "1.54.1",
2121
"@openzeppelin/defender-base-client": "1.54.1",

frontend/components/dapp-context.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import {
3131
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
3232
import { ReactQueryDevtools } from "@tanstack/react-query-devtools";
3333
import React, { ReactNode, useEffect } from "react";
34-
import { celo, Chain, optimism, sepolia } from "viem/chains";
34+
import { celo, Chain, optimism, sepolia, baseSepolia, base } from "viem/chains";
3535
import { configureChains, WagmiConfig, createConfig } from "wagmi";
3636
import { publicProvider } from "wagmi/providers/public";
3737

@@ -44,8 +44,8 @@ import {
4444

4545
const queryClient = new QueryClient();
4646

47-
const TEST_CHAINS = [sepolia];
48-
const PROD_CHAINS = [optimism, celo];
47+
const TEST_CHAINS = [sepolia, baseSepolia];
48+
const PROD_CHAINS = [optimism, celo, base];
4949

5050
export const CHAINS = (isProduction ? PROD_CHAINS : TEST_CHAINS) as Chain[];
5151

frontend/hooks/hypercerts-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { HypercertClient, HypercertClientConfig } from "@hypercerts-org/sdk";
44
import { useWalletClient, useNetwork } from "wagmi";
55

66
const isSupportedChain = (chainId: number) => {
7-
const supportedChainIds = [10, 42220, 11155111]; // Replace with actual chain IDs
7+
const supportedChainIds = [10, 42220, 11155111, 84532, 8453]; // Replace with actual chain IDs
88

99
return supportedChainIds.includes(chainId);
1010
};

frontend/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
"@emotion/react": "^11.10.5",
2424
"@emotion/styled": "^11.10.5",
2525
"@graphprotocol/client-cli": "^2.2.16",
26-
"@hypercerts-org/contracts": "1.1.1-alpha.0",
26+
"@hypercerts-org/contracts": "1.1.2",
2727
"@hypercerts-org/observabletreemap": "workspace: *",
28-
"@hypercerts-org/sdk": "1.4.2-alpha.0",
28+
"@hypercerts-org/sdk": "1.4.3",
2929
"@mui/icons-material": "^5.11.9",
3030
"@mui/material": "^5.11.2",
3131
"@mui/x-date-pickers": "^5.0.12",

pnpm-lock.yaml

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

sdk/RELEASE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
# Release notes
22

3+
## 1.4.3
4+
5+
- Add Base and Base Sepolia to supported chains in config
6+
37
## 1.4.2
48

59
- Improve ESM support by exporting `index.mjs` instead of `index.js`. @baumstern
610
- Added dweb IPFS gateway links and use `Promise.any` call to try and fetch data from multiple gateways.
711
- Expose timeout on HTTP requests from storage layer up to client wrapper methods as optional config.
812
- Default timeout on calls of 0 ms (no timeout) to avoid issues with large files or multiple IPFS calls.
13+
- Updated contracts package to support Base and Base Sepolia
914

1015
## New contributors
1116

sdk/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hypercerts-org/sdk",
3-
"version": "1.4.2-alpha.2",
3+
"version": "1.4.3",
44
"description": "SDK for hypercerts protocol",
55
"repository": "[email protected]:hypercerts-org/hypercerts.git",
66
"author": "Hypercerts team",
@@ -24,7 +24,7 @@
2424
"@ethereum-attestation-service/eas-sdk": "1.3.7",
2525
"@ethersproject/abstract-signer": "^5.7.0",
2626
"@graphql-typed-document-node/core": "^3.2.0",
27-
"@hypercerts-org/contracts": "1.1.1-alpha.1",
27+
"@hypercerts-org/contracts": "1.1.2",
2828
"@openzeppelin/merkle-tree": "^1.0.5",
2929
"@urql/core": "^4.2.0",
3030
"@whatwg-node/fetch": "^0.9.13",

0 commit comments

Comments
 (0)