Skip to content

Commit

Permalink
feat: base sepolia chain. (#1182)
Browse files Browse the repository at this point in the history
  • Loading branch information
b4rtaz authored Mar 6, 2024
1 parent 5d06916 commit cb5b17e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .changeset/fifty-pumas-push.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@moralisweb3/common-evm-utils': patch
'@moralisweb3/evm-api': patch
'moralis': patch
---

Added `BASE_SEPOLIA` to the `EvmChain` class.
10 changes: 10 additions & 0 deletions packages/common/evmUtils/src/dataTypes/EvmChain/EvmChain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,15 @@ export class EvmChain implements EvmChainable {
return EvmChain.create(84531);
}

/**
* Returns BASE_SEPOLIA chain
*
* @example EvmChain.BASE_SEPOLIA
*/
public static get BASE_SEPOLIA() {
return EvmChain.create(84532);
}

/**
* Create a new instance of EvmChain from any valid address input.
*
Expand Down Expand Up @@ -304,6 +313,7 @@ export class EvmChain implements EvmChainable {
EvmChain.GNOSIS_TESTNET,
EvmChain.BASE,
EvmChain.BASE_TESTNET,
EvmChain.BASE_SEPOLIA,
];
}

Expand Down

0 comments on commit cb5b17e

Please sign in to comment.