Skip to content

Commit 51ec8f5

Browse files
authored
chore(linea-ens-app): update POH Signer API URL (#346)
1 parent b987c0d commit 51ec8f5

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

packages/linea-ens-app/src/constants/chains.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,15 @@ export const lineaSepoliaWithEns = addCustomEnsContracts(
8080
lineaSepoliaEnsAddresses,
8181
`https://gateway-arbitrum.network.thegraph.com/api/${process.env.NEXT_PUBLIC_THE_GRAPH_SEPOLIA_API_KEY}/subgraphs/id/6Jjkuneo5SgozoKAzi5bu2pDSHr614iQKumbRAYr8bgh`,
8282
'linea-sepolia',
83-
'https://linea-poh-signer-api.sepolia.linea.build',
83+
'https://poh-signer-api.sepolia.linea.build',
8484
)
8585

8686
export const lineaMainnetWithEns = addCustomEnsContracts(
8787
lineaMainnet,
8888
lineaMainnetEnsAddresses,
8989
`https://gateway-arbitrum.network.thegraph.com/api/${process.env.NEXT_PUBLIC_THE_GRAPH_MAINNET_API_KEY}/subgraphs/id/G5YH6BWrybbfua5sngRQ7Ku1LRCVx4qf5zjkqWG9FSuV`,
9090
'linea',
91-
'https://linea-poh-signer-api.linea.build',
91+
'https://poh-signer-api.linea.build',
9292
)
9393

9494
export const chainsWithEns = [lineaMainnetWithEns, lineaSepoliaWithEns, localhostWithEns] as const

packages/linea-ens-app/src/hooks/usePohStatus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const usePohSignature = (address: Address | undefined): Hex | undefined =
88
useMemo(async () => {
99
const pohSignatureApi = chain ? chain.custom.pohVerifierUrl : undefined
1010
if (!pohSignatureApi) return undefined
11-
const resp = await fetch(`${pohSignatureApi}/poh/${address}`, {
11+
const resp = await fetch(`${pohSignatureApi}/poh/v2/${address}`, {
1212
method: 'GET',
1313
redirect: 'follow',
1414
})

packages/poh-signer-api/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Linea POH signer API
22

33
A NestJS API responsible for returning a signature acknowledging an address has passed the POH process.
4-
Uses the [POH api](https://linea-xp-poh-api.linea.build) to check if an address has a POH.
4+
Uses the [POH api](https://poh-api.linea.build) to check if an address has a POH.
55

6-
POH stands for Proof Of Humanity, it respects a set of rules that determines if an address is human or not, a user has to go through a POH process to be marked as POH.
6+
POH stands for Proof Of Humanity, it respects a set of rules that determines if an address is human or not, a user has
7+
to go through a POH process to be marked as POH.
78

89
## Installation
910

0 commit comments

Comments
 (0)