Skip to content

Commit

Permalink
feat: add unichain mainnet (#1136)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-miao authored Nov 8, 2024
1 parent 68052c5 commit de9ba7c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions account-kit/infra/src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,24 @@ export const shape: Chain = defineChain({
},
});

export const unichainMainnet: Chain = defineChain({
id: 130,
name: "Unichain Mainnet",
network: "Unichain Mainnet",
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
rpcUrls: {
default: {
http: ["https://unichain-mainnet.g.alchemy.com/v2"],
},
public: {
http: ["https://unichain-mainnet.g.alchemy.com/v2"],
},
alchemy: {
http: ["https://unichain-mainnet.g.alchemy.com/v2"],
},
},
});

export const unichainSepolia: Chain = defineChain({
id: 1301,
name: "Unichain Sepolia",
Expand Down
1 change: 1 addition & 0 deletions account-kit/infra/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export {
opbnbMainnet,
opbnbTestnet,
soneiumMinato,
unichainMainnet,
unichainSepolia,
} from "./chains.js";
export type * from "./client/decorators/alchemyEnhancedApis.js";
Expand Down

0 comments on commit de9ba7c

Please sign in to comment.