Berachain
Berachain
#Overview
Berachain is an EVM-compatible L1 blockchain built on-top of the Cosmos-SDK, which uses Proof-of-Liquidity consensus.
As Berachain is EVM compatible, you can follow the Ethereum documentation to send your first transaction and utilize all other wallet features.
#Configure Berachain
Ensure you have installed the Magic SDK and have access to your API key, follow the quickstart to get started.
01const beraMainnetConfig = {
02 rpcUrl: 'https://rpc.berachain.com/',
03 chainId: 80094,
04};
05
06const beraTestnetConfig = {
07 rpcUrl: 'https://artio.rpc.berachain.com/',
08 chainId: 80085,
09};
10
11// Instantiate magic set to Berachain mainnet or testnet
12const magic = new Magic('YOUR_PUBLISHABLE_API_KEY', {
13 network: beraMainnetConfig, // or beraTestnetConfig
14});
#Compatibility
- All
Auth
,User
andWallet
module methods for Dedicated Wallets - All EVM Provider functionality to respond to supported RPC methods
Need a feature or see a problem? File an issue on our github repo.
#Resources & Tools
- Documentation: https://docs.berachain.com/
- Block Explorer:
- https://berascan.com/ (Mainnet)
- https://artio.beratrail.io/ (Testnet)
- Faucets: https://bartio.faucet.berachain.com/