Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ ENSIP-19 provides chain-specific primary names for L2 networks (including Optimi
Linea, and Scroll), with an automatic fallback to a default primary name (defined on mainnet) if no
chain-specific primary name is defined. There are several libraries to choose from that support
ENSIP-19 and all ENS best practices:
- [ensnode-sdk](https://github.com/namehash/ensnode/blob/main/packages/ensnode-sdk/README.md) (v1.0.0+)
- [ensnode-react](https://github.com/namehash/ensnode/blob/main/packages/ensnode-react/README.md) (v1.0.0+)
- [Viem](https://viem.sh/docs/ens/actions/getEnsName#chain-specific-resolution) (v2.35.0+)
- [Wagmi](https://wagmi.sh/react/api/hooks/useEnsName#chainid) (v2.18.0+)
Libraries and tools for additional languages or frameworks can be found in the [ENS documentation](https://docs.ens.domains/web/libraries).`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ import ContractNamingCategory from ".";

const technicalDetailsMainContent = `Looking up the name of a smart contract on Ethereum mainnet uses the same process as looking up the name of any other account.
There are a variety of libraries capable of looking up the [primary name](https://docs.ens.domains/web/reverse) of a contract address according to all ENS best practices:
- [ensnode-sdk](https://github.com/namehash/ensnode/blob/main/packages/ensnode-sdk/README.md) (v1.0.0+)
- [ensnode-react](https://github.com/namehash/ensnode/blob/main/packages/ensnode-react/README.md) (v1.0.0+)
- [Viem](https://viem.sh/docs/ens/actions/getEnsName#chain-specific-resolution) (v2.35.0+)
- [Wagmi](https://wagmi.sh/react/api/hooks/useEnsName#chainid) (v2.18.0+)
Libraries and tools for additional languages or frameworks can be found in the [ENS documentation](https://docs.ens.domains/web/libraries).`;
Expand Down
12 changes: 6 additions & 6 deletions ensawards.org/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,22 @@
"@astrojs/react": "^5.0.2",
"@astrojs/sitemap": "^3.7.2",
"@astrojs/vercel": "^10.0.3",
"@ensnode/datasources": "1.11.1",
"@ensnode/ensnode-react": "1.11.1",
"@ensnode/ensnode-sdk": "1.11.1",
"@ensnode/datasources": "1.14.0",
"@ensnode/ensnode-sdk": "1.14.0",
"@formkit/auto-animate": "^0.9.0",
"@headlessui/react": "^2.2.7",
"@heroicons/react": "^2.2.0",
"@lucide/astro": "^1.7.0",
"@namehash/ens-referrals": "1.11.1",
"@namehash/namehash-ui": "1.11.1",
"@namehash/ens-referrals": "1.14.0",
"@namehash/namehash-ui": "1.14.0",
"@radix-ui/react-avatar": "^1.1.10",
"@radix-ui/react-label": "^2.1.7",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-tooltip": "^1.2.8",
"@tailwindcss/postcss": "^4.1.11",
"@tailwindcss/vite": "^4.1.14",
"@tanstack/react-query": "^5.0.0",
"@types/react": "^19.1.9",
"@types/react-dom": "^19.1.7",
"astro": "^6.1.10",
Comment thread
Y3drk marked this conversation as resolved.
Expand All @@ -45,7 +45,7 @@
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
"enssdk": "1.11.1",
"enssdk": "1.14.0",
"lucide-react": "^0.534.0",
"react": "^19.1.1",
"react-dom": "^19.1.1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import { ResolveAndDisplayIdentity } from "@namehash/namehash-ui";
import {
createEnsNodeProviderOptions,
EnsNodeProvider,
ResolveAndDisplayIdentity,
} from "@namehash/namehash-ui";
import type { Contribution, Contributor } from "data/contributors/types";
import { countContributorAppearances } from "data/contributors/utils";
import { User as NoContributionsIcon } from "lucide-react";
import { useMemo } from "react";
import { getAddress } from "viem";

import { createEnsNodeProviderOptions, EnsNodeProvider } from "@ensnode/ensnode-react";
import { buildUnresolvedIdentity, type UnresolvedIdentity } from "@ensnode/ensnode-sdk";

import GitHubOutlineIcon from "@/assets/githubOutlineIcon.svg";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import { createEnsNodeProviderOptions, EnsNodeProvider } from "@namehash/namehash-ui";
import { AwardTypes } from "data/awards/types";
import { sortFinancialAwardsByPrice } from "data/awards/utils";
import EnsContractNamingSeason from "data/incentive-programs/ens-contract-naming-season";
import { getAwardsByIncentiveProgramSlug } from "data/incentive-programs/utils";
import { stringifyAccountId } from "enssdk";
import { useMemo } from "react";

import { createEnsNodeProviderOptions, EnsNodeProvider } from "@ensnode/ensnode-react";

import { ContractNamingSeasonAwardCard } from "@/components/atoms/cards/contractNamingSeasonAwardCard";
import { TooltipProvider } from "@/components/ui/tooltip";
import { getENSNodeUrl } from "@/utils/env";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { createEnsNodeProviderOptions, EnsNodeProvider } from "@namehash/namehash-ui";
import type { NormalizedAddress } from "enssdk";
import { useMemo } from "react";

import { createEnsNodeProviderOptions, EnsNodeProvider } from "@ensnode/ensnode-react";

import { FetchAndDisplayAdvocateProfile } from "@/components/ens-advocates/details-page-components/FetchAndDisplayAdvocateProfile.tsx";
import { FetchAndDisplayAdvocateReferrals } from "@/components/ens-advocates/details-page-components/FetchAndDisplayAdvocateReferrals.tsx";
import { TooltipProvider } from "@/components/ui/tooltip.tsx";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ASSUME_IMMUTABLE_QUERY, usePrimaryName } from "@namehash/namehash-ui";
import { type InterpretedName, type NormalizedAddress, reinterpretName } from "enssdk";

import { getENSRootChainId } from "@ensnode/datasources";
import { ASSUME_IMMUTABLE_QUERY, usePrimaryName } from "@ensnode/ensnode-react";

import { ErrorInfo } from "@/components/atoms/ErrorInfo.tsx";
import { AdvocateProfileWithoutName } from "@/components/ens-advocates/details-page-components/advocate-profile/AdvocateProfileWithoutName.tsx";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { ReferralProgramEditionSummary } from "@namehash/ens-referrals";
import { useRegistrarActions } from "@namehash/namehash-ui";
import { asInterpretedName, type NormalizedAddress, namehashInterpretedName } from "enssdk";
import { type ReactNode, useEffect, useState } from "react";

import { useRegistrarActions } from "@ensnode/ensnode-react";
import {
type RegistrarActionsFilter,
RegistrarActionsOrders,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ASSUME_IMMUTABLE_QUERY, useRecords } from "@namehash/namehash-ui";
import type { InterpretedName, NormalizedAddress } from "enssdk";

import { ASSUME_IMMUTABLE_QUERY, useRecords } from "@ensnode/ensnode-react";
import { type ResolverRecordsSelection } from "@ensnode/ensnode-sdk";

import { ErrorInfo } from "@/components/atoms/ErrorInfo.tsx";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { createEnsNodeProviderOptions, EnsNodeProvider } from "@namehash/namehash-ui";
import { useMemo, useState } from "react";

import { ENSNamespaceIds } from "@ensnode/datasources";
import { createEnsNodeProviderOptions, EnsNodeProvider } from "@ensnode/ensnode-react";
import { RECORDS_PER_PAGE_DEFAULT, RegistrarActionsResponseCodes } from "@ensnode/ensnode-sdk";

import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ import {
type ReferralProgramAwardModel,
ReferralProgramAwardModels,
} from "@namehash/ens-referrals";
import { createEnsNodeProviderOptions, EnsNodeProvider } from "@namehash/namehash-ui";
import { useMemo, useState } from "react";

import { createEnsNodeProviderOptions, EnsNodeProvider } from "@ensnode/ensnode-react";

import {
type MockReferrersListState,
MockReferrersListStates,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { type ReferralProgramEditionSummary } from "@namehash/ens-referrals";
import { useRegistrarActions } from "@namehash/namehash-ui";
import { asInterpretedName, namehashInterpretedName } from "enssdk";
import { useEffect, useState } from "react";

import { useRegistrarActions } from "@ensnode/ensnode-react";
import {
type RegistrarActionsFilter,
RegistrarActionsOrders,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { createEnsNodeProviderOptions, EnsNodeProvider } from "@namehash/namehash-ui";
import { useMemo } from "react";

import { createEnsNodeProviderOptions, EnsNodeProvider } from "@ensnode/ensnode-react";

import {
FetchAndDisplayRegistrarActionsFeed,
type FetchAndDisplayRegistrarActionsFeedProps,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ import {
ReferrerLeaderboardPageResponseCodes,
type ReferrerLeaderboardPageRevShareCap,
} from "@namehash/ens-referrals";
import { useNow } from "@namehash/namehash-ui";
import { createEnsNodeProviderOptions, EnsNodeProvider, useNow } from "@namehash/namehash-ui";
import { fromUnixTime, intlFormat } from "date-fns";
import { secondsInMinute } from "date-fns/constants";
import { useEffect, useMemo, useRef, useState } from "react";

import { createEnsNodeProviderOptions, EnsNodeProvider } from "@ensnode/ensnode-react";

import {
LastUpdateTime,
LastUpdateTimeLoading,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@ import {
ReferrerLeaderboardPageResponseCodes,
type ReferrerLeaderboardPageRevShareCap,
} from "@namehash/ens-referrals";
import { useNow } from "@namehash/namehash-ui";
import { createEnsNodeProviderOptions, EnsNodeProvider, useNow } from "@namehash/namehash-ui";
import type { VariantProps } from "class-variance-authority";
import { secondsInMinute } from "date-fns/constants";
import { useEffect, useMemo, useState } from "react";

import { createEnsNodeProviderOptions, EnsNodeProvider } from "@ensnode/ensnode-react";

import {
LastUpdateTime,
LastUpdateTimeLoading,
Expand Down
Loading
Loading