FuturesChain Integration documentation
Useful Links
Integration guide for Cronos Mainnet Beta
Setup Guide
- Joining the Cronos Mainnet
- Deploying Smart Contract
- Seeds for Fullnode
- Genesis files
- JSON-RPC Swagger Playground
- Using MetaMask
RPC URLs for Cronos mainnet Beta
:::danger Public RPCs URL Updates: The Cronos RPC endpoints have been lately updated (shown as below) and it is recommended for users to update the endpoints. The old endpoints are still available for compatibility but maybe deprecated later. :::
:::tip Request Limits on Public RPCs: To provide a stable experience to users, there is a request rate limit on the public RPCs to ensure fair usage. If your application requires a higher usage, please consider setting up your own nodes. You can also reach out to us on Discord for assistance. :::
:::tip Public RPCs Integration Tips: There are more than one machines serving the public RPC services. There is no guarantee that you are served by the same machine every time. This could break the assumptions of some applications. For example when you want to broadcast multiple transactions in sequential account nonce at once, each transactions may arrive on different machines if you are not broadcasting them in a batch.
If this assumption is important in your application, please consider setting up your own nodes. :::
Tendermint RPC
Cosmos RESTful
Cosmos gRPC Based
EVM HTTP JSON RPC (Web3 compatible)
Official token contract addresses for Cronos mainnet Beta
Below is the preview of the complete list of the official token contract addresses.
Integration guide for Cronos Testnet
Setup Guide
- Joining the Cronos Testnet
- Testnet Faucet
- Note that the faucet only takes eth-type
0x...
addr
- Note that the faucet only takes eth-type
- Seeds for fullnode
- Genesis files
- JSON-RPC Swagger Playground
- Using Metamask for testnet
- Network Name: Cronos Testnet
- New RPC URL: https://evm-t3.cronos.org/
- Chain ID: 338
- Currency Symbol: TCRO
- Block Explorer URL: https://testnet.cronoscan.com/
RPC URLs for For Cronos testnet
:::tip The Cronos Testnet RPC endpoints have been lately updated shown as below and it is recommanded for users to update the endpoints, while the old endpoints will still be compatible. :::
Cosmos RPC
- https://rpc-t3.cronos.org/
gRPC Based
- https://grpc-t3.cronos.org/
Cosmos RESTful
- https://rest-t3.cronos.org/
EVM HTTP JSON RPC
- https://evm-t3.cronos.org/
Mock token contract addresses for Cronos testnet
Token name | address | decimal |
---|---|---|
WCRO | 0x6a3173618859C7cd40fAF6921b5E9eB6A76f1fD4 | 18 |
WETH | 0x796135E94527c38433e9c42f4Cd91ca931E5e6A6 | 18 |
WBTC | 0xEE200f25d7B1B9518AC944fd60b113d39bee209c | 8 |
USDC | 0x25f0965F285F03d6F6B3B21c8EC3367412Fd0ef6 | 6 |
USDT | 0xa144617Afd9205AF1ceDE3Cc671da1a409A82c5a | 6 |
DAI | 0x8662A8111daEC7570a1bDF3dbd3E163d41563904 | 18 |
API Clients and libraries
- TypeScript library;
- Python library;
- Rust library (note that it is not feature complete);
- @cosmjs/stargate.
Ethereum type JSON-RPC Methods
Pre-requisite Readings
- Ethereum JSON-RPC {prereq}
- Geth JSON-RPC APIs {prereq}
Below is a list of Ethereum type JSON-RPC Methods where users can curl via local node. While you can also surf to our swagger playground for a better understanding.
JSON-RPC Methods
:::tip
Block Number can be entered as a Hex string, "earliest"
, "latest"
or "pending"
.
:::
:::tip
While the examples below make use of local node http://localhost:8545, users may also use our public full node:
https://evm-t3.cronos.org:8545/
:::
JSON-RPC namespaces
Pre-requisite Readings
- Geth JSON-RPC Namespaces {prereq}
Ethereum Namespaces
Namespace | Description | Supported | Enabled by Default |
---|---|---|---|
eth | Cronos provides several extensions to the standard eth JSON-RPC namespace. | ✔ | ✔ |
web3 | The web3 API provides utility functions for the web3 client. | ✔ | ✔ |
net | The net API provides access to network information of the node | ✔ | ✔ |
clique | The clique API provides access to the state of the clique consensus engine. You can use this API to manage signer votes and to check the health of a private network. | ❌ | |
debug | The debug API gives you access to several non-standard RPC methods, which will allow you to inspect, debug and set certain debugging flags during runtime. | ✔ | |
les | The les API allows you to manage LES server settings, including client parameters and payment settings for prioritized clients. It also provides functions to query checkpoint information in both server and client mode. | ❌ | |
miner | The miner API allows you to remote control the node’s mining operation and set various mining specific settings. | ✔ | ❌ |
txpool | The txpool API gives you access to several non-standard RPC methods to inspect the contents of the transaction pool containing all the currently pending transactions as well as the ones queued for future processing. | ✔ | ❌ |
admin | The admin API gives you access to several non-standard RPC methods, which will allow you to have a fine grained control over your nodeinstance, including but not limited to network peer and RPC endpoint management. | ❌ | |
personal | The personal API manages private keys in the key store. | ✔ | ❌ |
Block Explorer
- Cronos Mainnet Beta: https://cronoscan.com/
- Cronos Testnet: https://testnet.cronoscan.com/
Creating API Keys on CronoScan
The CronoScan Developer APIs are designed to provide accessible and consistent Cronos data to the Cronos community. The APIs are provided as a community service with a rate up to 5 calls per second per IP. Users need to register for a CronoScan account to create an API key. After registration, a CronoScan user account will have a quota of up to 3 API keys.
On the CronoScan user dashboard, select “API-KEYs” from the left-hand side column or go to https://cronoscan.com/myapikey.
Click on the “Create a new API-KEY token” button, then optionally input an “AppName”, “My Cronos App” for example.
After the “API-KEY Token” is successfully created, a message will show up as below, and you may now use the “API key token” for your applications on Cronos!