Skip to main content

Cronos

Cronos is a EVM-compatible chain running in parallel with the Crypto.org Chain. It aims to massively scale the Crypto.org Chain DeFi ecosystem by providing developers with the ability to rapidly port DApps from Ethereum and EVM-Compatible chains. Developers also gain access to the massive user base of the Crypto.com ecosystem and funding from Cronos Ecosystem Grants.

**[Cronos](https://cronos.org/)**

**[Docs](https://docs.cronos.org/getting-started/readme)​**

**[Github](https://github.com/crypto-org-chain/cronos)**

Connect wallet

You can set up your MetaMask wallet to connect to Cronos RPC. You can then perform transactions and interact with the network.

Get started

  1. Open your Metamask Extension and click the 'Network' drop down menu at the top.
  2. Select 'Custom RPC'
  3. Enter the settings below:
ChainCustom RPC CategoryDetails
CronosNETWORK NAME:Cronos RPC
NEW RPC URL:https://username.chainprtcl.net/cro/uid
CHAIN ID:25
SYMBOL:CRO
BLOCK EXPLORER:https://cronoscan.com/

Integrate Code

web3 library

  • clientVersion

Returns the current client version.

Example request

curl https://username.chainprtcl.net/cro/uid \
-X POST \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":1}'

Example response

{"jsonrpc":"2.0","id":1,"result":"Version dev ()\nCompiled at  using Go go1.18.4 (amd64)"}

net library

  • net_version

Returns the current network id.

Example request

curl https://username.chainprtcl.net/cro/uid \
-X POST \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"net_version","params":[],"id":67}'

Example response

{"jsonrpc":"2.0","id":67,"result":"25"}

eth library

Example request

eth_estimateGas

Returns the gas price for the transaction in hex.

curl https://username.chainprtcl.net/cro/uid \
-X POST \
-H "Content-Type: application/json" \
--data '{
"jsonrpc":"2.0",
"method":"eth_estimateGas",
"params":[{
"from": "0x8D97689C9818892B700e27F316cc3E41e17fBeb9",
"to": "0xd3CdA913deB6f67967B99D67aCDFa1712C293601",
"value": "0x186a0"
}],
"id":1
}'

Example response

{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"rpc error: code = Internal desc = insufficient balance for transfer"}

Pricing

Node TypePrice (USD)
Fullnode$192