Cronos - Query Contract

Is it possible to query Cronos contracts?
Is there documentation available?

Regards,

Markus

Hey Markus,

Since Cronos is an EVM chain, you can use the following chain config for using it with web3auth.

chainConfig: {
  chainNamespace: "eip155",
  chainId: "0x19", // hex of 25
  rpcTarget: "https://node.croswap.com/rpc",
  // Avoid using public rpcTarget in production.
  // Use services like Infura, Quicknode etc
  displayName: "Cronos Mainnet Beta",
  blockExplorer: "https://cronoscan.com/",
  ticker: "CRO",
  tickerName: "CRO",
},

This will return you a standard EIP1193 provider, the documentation of which can be found here: EIP-1193: Ethereum Provider JavaScript API

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.