Skip to content

Commit

Permalink
feat(chains): add ink and soneium mainnet (#1215)
Browse files Browse the repository at this point in the history
* feat(networks): add new networks

* feat(chains): add ink and soneium to aa-sdk

---------

Co-authored-by: Andy <andysim3d@gmail.com>
  • Loading branch information
0xfourzerofour and andysim3d authored Dec 17, 2024
1 parent 9bd0bb2 commit de83640
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
36 changes: 36 additions & 0 deletions account-kit/infra/src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,24 @@ export const soneiumMinato: Chain = defineChain({
},
});

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

export const opbnbTestnet: Chain = defineChain({
id: 5611,
name: "OPBNB Testnet",
Expand Down Expand Up @@ -418,6 +436,24 @@ export const beraChainBartio: Chain = defineChain({
},
});

export const inkSepolia: Chain = defineChain({
id: 763373,
name: "Ink Sepolia",
network: "Ink Sepolia",
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
rpcUrls: {
default: {
http: ["https://ink-sepolia.g.alchemy.com/v2"],
},
public: {
http: ["https://ink-sepolia.g.alchemy.com/v2"],
},
alchemy: {
http: ["https://ink-sepolia.g.alchemy.com/v2"],
},
},
});

export const arbitrumNova: Chain = {
...vabn,
rpcUrls: {
Expand Down
2 changes: 2 additions & 0 deletions account-kit/infra/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ export {
opbnbMainnet,
opbnbTestnet,
soneiumMinato,
soneiumMainnet,
unichainMainnet,
unichainSepolia,
inkSepolia,
} from "./chains.js";
export type * from "./client/decorators/alchemyEnhancedApis.js";
export { alchemyEnhancedApiActions } from "./client/decorators/alchemyEnhancedApis.js";
Expand Down

0 comments on commit de83640

Please sign in to comment.