We've updated our Terms of Service. By continuing to use our services, you agree to the updated Terms.

Cronos

Cronos

#Overview

Cronos is a Layer 2 solution enhancing Ethereum by providing developers with faster and more cost-efficient transactions. Cronos is especially beneficial for those looking to boost performance while maintaining the decentralized principles of Ethereum.

As Cronos is EVM compatible, you can follow the Ethereum documentation to send your first transaction and utilize all other wallet features.

#Configure Cronos

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

#Mainnet

Mainnet Block Explorer: https://cronoscan.com/

Javascript
01const customNodeOptions = {
02  rpcUrl: 'https://evm.cronos.org/', // Cronos mainnet URL
03  chainId: 25, // Your own node's chainId
04}
05
06// Setting network to Cronos
07const magic = new Magic('YOUR_PUBLISHABLE_API_KEY', { network: customNodeOptions });

#Testnet

Testnet Block Explorer: https://testnet.cronoscan.com/

Javascript
01const customNodeOptions = {
02  rpcUrl: 'https://evm-t3.cronos.org/', // Cronos testnet URL
03  chainId: 338, // Cronos testnet chainId
04}
05
06// Setting network to Cronos
07const magic = new Magic('YOUR_PUBLISHABLE_API_KEY', { network: customNodeOptions });

#Compatibility

*Some Widget UI features are not yet compatible such as NFT Viewer and Fiat On-ramps.

Need a feature or see a problem? File an issue on our github repo.

#Resources & Tools