Skip to content

Commit

Permalink
fix: update starknetid contract addresses on sepolia (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
fracek authored May 30, 2024
2 parents 9d71e87 + c2335bb commit a081fb6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .changeset/rare-eyes-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@starknet-react/core": patch
---

Update StarknetId sepolia contracts
2 changes: 1 addition & 1 deletion packages/core/src/hooks/useStarkAddress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function queryFn({

const StarknetIdNamingContract: Record<string, string> = {
goerli: "0x3bab268e932d2cecd1946f100ae67ce3dff9fd234119ea2f6da57d16d29fce",
sepolia: "0x0707f09bc576bd7cfee59694846291047e965f4184fe13dac62c56759b3b6fa7",
sepolia: "0x154bc2e1af9260b9e66af0e9c46fc757ff893b3ff6a85718a810baf1474",
mainnet: "0x6ac597f8116f886fa1c97a23fa4e08299975ecaf6b598873ca6792b9bbfb678",
};

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/hooks/useStarkName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,6 @@ const executeWithFallback = async (

const StarknetIdNamingContract: Record<string, string> = {
goerli: "0x3bab268e932d2cecd1946f100ae67ce3dff9fd234119ea2f6da57d16d29fce",
sepolia: "0x0707f09bc576bd7cfee59694846291047e965f4184fe13dac62c56759b3b6fa7",
sepolia: "0x154bc2e1af9260b9e66af0e9c46fc757ff893b3ff6a85718a810baf1474",
mainnet: "0x6ac597f8116f886fa1c97a23fa4e08299975ecaf6b598873ca6792b9bbfb678",
};
12 changes: 5 additions & 7 deletions packages/core/src/hooks/useStarkProfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,16 +309,14 @@ const StarknetIdcontracts: Record<string, Record<string, string>> = {
"0x034ffb8f4452df7a613a0210824d6414dbadcddce6c6e19bf4ddc9e22ce5f970",
},
sepolia: {
naming:
"0x0707f09bc576bd7cfee59694846291047e965f4184fe13dac62c56759b3b6fa7",
identity:
"0x070DF8B4F5cb2879f8592849fA8f3134da39d25326B8558cc9C8FE8D47EA3A90",
naming: "0x154bc2e1af9260b9e66af0e9c46fc757ff893b3ff6a85718a810baf1474",
identity: "0x3697660a0981d734780731949ecb2b4a38d6a58fc41629ed611e8defda",
verifier:
"0x0182EcE8173C216A395f4828e1523541b7e3600bf190CB252E1a1A0cE219d184",
"0x60B94fEDe525f815AE5E8377A463e121C787cCCf3a36358Aa9B18c12c4D566",
verifier_pop:
"0x0023FE3b845ed5665a9eb3792bbB17347B490EE4090f855C1298d03BB5F49B49",
"0x15ae88ae054caa74090b89025c1595683f12edf7a4ed2ad0274de3e1d4a",
verifier_pfp:
"0x058061bb6bdc501eE215172c9f87d557C1E0f466dC498cA81b18f998Bf1362b2",
"0x9e7bdb8dabd02ea8cfc23b1d1c5278e46490f193f87516ed5ff2dfec02",
multicall:
"0x034ffb8f4452df7a613a0210824d6414dbadcddce6c6e19bf4ddc9e22ce5f970",
},
Expand Down

0 comments on commit a081fb6

Please sign in to comment.