How to connect to Arbitrum L2 with Magic

How to connect to Arbitrum L2 with Magic

#Resources

#Installation

Via Magic SDK, you can connect to Arbitrum. Arbitrum is EVM compatible so you can directly follow the Ethereum installation.

#Configure Arbitrum

#Testnet

Testnet Block Explorer: https://goerli.arbiscan.io

Javascript
01const customNodeOptions = {
02  rpcUrl: "https://goerli-rollup.arbitrum.io/rpc",
03  chainId: 421613
04};
05
06// Setting network to Arbitrum
07const magic = new Magic('YOUR_PUBLISHABLE_API_KEY', { network: customNodeOptions });

Did you find what you were looking for?

How to connect to Arbitrum L2 with Magic

Did you find what you were looking for?