-
-
Notifications
You must be signed in to change notification settings - Fork 835
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add Berachain testnet chain * chore: changeset * Update src/chains/definitions/berachainTestnet.ts refactor: remove slash from explorer url Co-authored-by: awkweb <tom@meagher.co> * Update .changeset/nice-fishes-leave.md style: change changeset desc Co-authored-by: awkweb <tom@meagher.co> * Update src/chains/definitions/berachainTestnet.ts refactor: remove slash from rpc url Co-authored-by: awkweb <tom@meagher.co> * Update berachainTestnet.ts --------- Co-authored-by: awkweb <tom@meagher.co> Co-authored-by: jxom <jakemoxey@gmail.com>
- Loading branch information
1 parent
1fe153e
commit 4593b65
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"viem": patch | ||
--- | ||
|
||
Added Berachain Testnet chain. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
export const berachainTestnet = /*#__PURE__*/ defineChain({ | ||
id: 80085, | ||
name: 'Berachain Artio', | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: 'BERA Token', | ||
symbol: 'BERA', | ||
}, | ||
rpcUrls: { | ||
default: { http: ['https://artio.rpc.berachain.com'] }, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Berachain', | ||
url: 'https://artio.beratrail.io', | ||
}, | ||
}, | ||
testnet: true, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4593b65
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
viem – ./
viem-wevm.vercel.app
viem.vercel.app
viem-git-main-wevm.vercel.app
viem.sh
www.viem.sh
viem-site.vercel.app