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

Note: The Arbitrum mainnet is for currently gated for developers only. Only the testnet is public.

const customNodeOptions = {
  rpcUrl: "https://goerli-rollup.arbitrum.io/rpc",
  chainId: 421613
};

// Setting network to Arbitrum
const 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?