Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ meta:
command-line interface cronosd in this technical documentation.
- name: twitter:image
content: https://cronos.org/og-image.png
canonicalUrl: https://docs.cronos.org/getting-started/
canonicalUrl: https://docs.cronos.com/getting-started/
description: What is Cronos? Why build on Cronos? How to connect?
---

Expand All @@ -54,7 +54,7 @@ The Cronos universe encompasses 2 chains: **Cronos EVM**, the leading Ethereum-c
Transaction fees are paid in Cronos ($CRO), a blue chip cryptocurrency.

{% hint style="info" %}
Notice: Cronos zkEVM is being sunset, please [bridge out your assets](https://docs-zkevm.cronos.org/for-users/cronos-zkevm-bridge) before the network is fully decommissioned.
Notice: Cronos zkEVM is being sunset, please [bridge out your assets](https://docs-zkevm.cronos.com/for-users/cronos-zkevm-bridge) before the network is fully decommissioned.
{% endhint %}

## Why build on Cronos EVM?
Expand All @@ -81,16 +81,14 @@ Blog: [Cronos](https://blog.cronos.com/)

Socials:[ X.com](https://x.com/CronosApp) | [Telegram](https://t.me/Cronos_Announcements) | [Discord](https://discord.com/invite/pahqHz26q4) 

White paper: [Cronos Whitepaper](https://whitepaper.cronos.org/)

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

**Ecosystem:**

* [List of Dapps](https://discover.cronos.org)
* [List of Dapps](https://cronos.com/ecosystem)
* [DeFi ecosystem on Defillama](https://defillama.com/chain/Cronos)
* [Dappradar](https://dappradar.com/rankings/protocol/cronos)
* [Block explorer](https://explorer.cronos.org)
* [Block explorer](https://explorer.cronos.com)

**Developer tips:**

Expand Down
3 changes: 1 addition & 2 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
* [Web3-wallet](for-dapp-developers/chain-integration/web3-wallet.md)
* [JSON-RPC methods](for-dapp-developers/chain-integration/json-rpc.md)
* [Address Conversion](for-dapp-developers/chain-integration/adress-conversion.md)
* [Swagger Playground](https://cronos.org/swagger?network=mainnet)
* [⚙️ Dev Tools & Integrations](for-dapp-developers/dev-tools-and-integrations/README.md)
* [All Dev Tools & Integrations](for-dapp-developers/useful-projects-on-cronos/overview-of-dev-tools-and-integrations.md)
* [Account Abstraction](for-dapp-developers/dev-tools-and-integrations/account-abstraction-experimental.md)
Expand Down Expand Up @@ -104,7 +103,7 @@
## Block Explorers

* [Block Explorer and API Keys](block-explorers/block-explorer-and-api-keys.md)
* [Cronos Explorer](https://explorer.cronos.org)
* [Cronos Explorer](https://explorer.cronos.com)

## CRONOS CHAIN PROTOCOL

Expand Down
6 changes: 3 additions & 3 deletions ambassadors/essential-links-and-info.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
**Official websites and docs**

* Main website: [cronos.com](http://cronos.com/) - ecosystem & product entry points
* Cronos Explorer (official): [explorer.cronos.com](http://explorer.cronos.com)
* Apps on Cronos: [https://cronos.com/ecosystem/](https://cronos.com/ecosystem/)
* [Cronos EVM Explorer](https://explorer.cronos.org/)
* [Cronos POS Explorer](https://cronos-pos.org/explorer/)
* [GitHub](https://github.com/crypto-org-chain)

Expand All @@ -32,7 +32,7 @@ The network powers the app. The app brings users, activity, and liquidity back t

### Networks you’ll hear about

* [Cronos EVM](https://docs.cronos.org): Cronos EVM is an Ethereum-compatible blockchain built with the Cosmos SDK and integrated with IBC.  
* [Cronos POS](https://docs.cronos-pos.org/): Cronos POS is the foundational blockchain of the Cronos ecosystem.
* [Cronos EVM](https://docs.cronos.com): EVM-compatible, built with Ethermint/Cosmos SDK; launched Nov 8, 2021.  
* [Cronos POS](https://cronos-pos.org/wallets): Cosmos chain optimized for payments/consumer use cases.

A lot more info can be found in the other section of these Docs or by following the links above.
8 changes: 4 additions & 4 deletions block-explorers/block-explorer-and-api-keys.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

{% tabs %}
{% tab title="Cronos Mainnet" %}
* **Cronos Explorer:** [https://explorer.cronos.org/](https://explorer.cronos.org/)
* **Cronos Explorer:** [https://explorer.cronos.com/](https://explorer.cronos.com/)
{% endtab %}

{% tab title="Testnet" %}
* **Cronos Testnet Explorer:** [https://explorer.cronos.org/testnet](https://explorer.cronos.org/testnet)
* **Cronos Testnet Explorer:** [https://explorer.cronos.com/testnet](https://explorer.cronos.com/testnet)
{% endtab %}
{% endtabs %}

Cronos Explorer is the reference transaction and block explorer on Cronos `https://explorer.cronos.org`
Cronos Explorer is the reference transaction and block explorer on Cronos `https://explorer.cronos.com`

### Creating Account and Getting API Key **Cronos Explorer**

Expand All @@ -22,7 +22,7 @@ As a means to provide equitable access to blockchain data, we've developed the C

### 1. Register an Account <a href="#id-1-register-an-account" id="id-1-register-an-account"></a>

Head over to the [**Account Registration**](https://explorer.cronos.org/register) page and provide email and password for your account.
Head over to the [**Account Registration**](https://explorer.cronos.com/register) page and provide email and password for your account.

<figure><img src="../.gitbook/assets/image (1).png" alt=""><figcaption></figcaption></figure>

Expand Down
2 changes: 1 addition & 1 deletion cronos-chain-protocol/chain-details/parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ meta:
content: Brief description of all the mentioned network parameters
- name: "twitter:image"
content: https://cronos.org/og-image.png
canonicalUrl: https://docs.cronos.org/chain-details/parameters.html
canonicalUrl: https://docs.cronos.com/chain-details/parameters.html
---

# List of parameters
Expand Down
6 changes: 3 additions & 3 deletions cronos-chain-protocol/chain-details/technical-glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A | [B](technical-glossary.md#b) | [C](technical-glossary.md#c) | [D](technical-

**Block Explorer**

An application that allows a user to explore the different blocks on a blockchain. It has a record of all the transactions in each block and is often made public to increase blockchain visibility and transparency. Here are our explorers: [Cronos Explorer](https://explorer.cronos.org/) and [Cronos Testnet Explorer](https://explorer.cronos.org/testnet).
An application that allows a user to explore the different blocks on a blockchain. It has a record of all the transactions in each block and is often made public to increase blockchain visibility and transparency. Here are our explorers: [Cronos Explorer](https://explorer.cronos.com/) and [Cronos Testnet Explorer](https://explorer.cronos.com/testnet).

**Bonded (staking state)**

Expand All @@ -20,7 +20,7 @@ A validator is said to make a byzantine fault when they sign conflicting message

#### C

**Chain ID** A unique identifier for the blockchain. Different prefixes of the Chain ID are used to distinguish between _mainnet_, _devnet_, and _testnet_. For example, the Chain ID of our [testnet](https://docs.cronos.org/for-node-hosts/running-nodes/cronos-testnet#step-0-notes-on-testnet-network-upgrade) is `cronostestnet_338-3`.
**Chain ID** A unique identifier for the blockchain. Different prefixes of the Chain ID are used to distinguish between _mainnet_, _devnet_, and _testnet_. For example, the Chain ID of our [testnet](https://docs.cronos.com/for-node-hosts/running-nodes/cronos-testnet#step-0-notes-on-testnet-network-upgrade) is `cronostestnet_338-3`.

**Chain-abci**

Expand Down Expand Up @@ -68,7 +68,7 @@ It is a state machine that provides the necessary tools to run or create a contr

#### F

[**Faucet**](https://cronos.org/faucet)
[**Faucet**](https://faucet.cronos.com/)

Service carried out that dispenses funds in the form of free test token that can be used on a testnet.

Expand Down
2 changes: 1 addition & 1 deletion cronos-chain-protocol/chain-id.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ meta:
format in this documentation.
- name: twitter:image
content: https://cronos.org/og-image.png
canonicalUrl: https://docs.cronos.org/chain-details/chain-id.html
canonicalUrl: https://docs.cronos.com/chain-details/chain-id.html
---

# Chain ID and Address Format
Expand Down
4 changes: 2 additions & 2 deletions cronos-chain-protocol/common-ibc-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Subcommands:
Example:&#x20;

```
./cronosd q ibc channel channels --node https://rpc-t3.cronos.org:443/
./cronosd q ibc channel channels --node https://rpc-t3.cronos.com:443/
```

Expected output:&#x20;
Expand Down Expand Up @@ -69,7 +69,7 @@ Example:
&#xNAN;**#4 Query the trace info for all token denominations**

```
./cronosd q ibc-transfer denom-traces --node https://rpc-t3.cronos.org:443/
./cronosd q ibc-transfer denom-traces --node https://rpc-t3.cronos.com:443/
```

\
Expand Down
2 changes: 1 addition & 1 deletion cronos-chain-protocol/cronos-general-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ If you are an application developer who is creating smart contracts in Solidity

Cronos uses Proof of Authority (POA) consensus, a streamlined and scalable consensus mechanism derived from the Tendermint POS consensus.&#x20;

There are currently 33 validators supporting the Cronos network, all leading infrastructure providers (see the [list here](https://cronos.org/validators)).
There are currently 33 validators supporting the Cronos network, all leading infrastructure providers.

#### **How can I become a Cronos validator?**&#x20;

Expand Down
4 changes: 2 additions & 2 deletions cronos-chain-protocol/genesis_file.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ meta:
Find out more about genesis file in this documentation.
- name: twitter:image
content: https://cronos.org/og-image.png
canonicalUrl: https://docs.cronos.org/chain-details/genesis_file.html
canonicalUrl: https://docs.cronos.com/chain-details/genesis_file.html
---

# Genesis

The `genesis.json` file defines the initial state of the Cronos Chain. On top of the standard [tendermint genesis](https://docs.tendermint.com/v0.33/tendermint-core/using-tendermint.html#genesis) format, we customize our own genesis file that includes different [modules](https://docs.cronos.org/~/changes/a4CtpNfKT3gnzLfuEveQ/cronos-chain-protocol/module_overview) and facilitates the special features of the Cronos Chain. Sample genesis file can be found [here](https://github.com/crypto-org-chain/cronos-mainnet/blob/master/cronosmainnet_25-1/genesis.json).
The `genesis.json` file defines the initial state of the Cronos Chain. On top of the standard [tendermint genesis](https://docs.tendermint.com/v0.33/tendermint-core/using-tendermint.html#genesis) format, we customize our own genesis file that includes different [modules](https://docs.cronos.com/cronos-chain-protocol/module_overview) and facilitates the special features of the Cronos Chain. Sample genesis file can be found [here](https://github.com/cronos-labs/cronos-mainnet/blob/master/cronosmainnet_25-1/genesis.json).

## Fields in genesis

Expand Down
2 changes: 1 addition & 1 deletion cronos-chain-protocol/module_overview/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ meta:
Governance, Mint, Slashing, Staking and more.
- name: twitter:image
content: https://cronos.org/og-image.png
canonicalUrl: https://docs.cronos.org/chain-details/module_overview.html
canonicalUrl: https://docs.cronos.com/chain-details/module_overview.html
---

# Modules
Expand Down
6 changes: 3 additions & 3 deletions cronos-chain-protocol/module_overview/module_bank.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ The `bank` module maintains the state of two primary objects:

`bank` module tracks and provides query support for the total supply of all assets used in the application. It also supports token transfer functionalities. Specifically, the total supply is updated whenever a token is:

* **Minted**, e.g. Token created by the [mint](https://docs.cronos.org/~/changes/a4CtpNfKT3gnzLfuEveQ/cronos-chain-protocol/module_overview#mint) module; or
* **Burned**, e.g. Token distorted by the [slashing](https://docs.cronos.org/~/changes/a4CtpNfKT3gnzLfuEveQ/cronos-chain-protocol/module_overview#slashing) module.
* **Minted**, e.g. Token created by the [mint](https://docs.cronos.com/cronos-chain-protocol/module_overview#mint) module; or
* **Burned**, e.g. Token distorted by the [slashing](https://docs.cronos.com/cronos-chain-protocol/module_overview#slashing) module.

#### Transactions and Queries

Expand Down Expand Up @@ -79,7 +79,7 @@ $ cronosd query bank total --output json | jq

The parameters can be checked by browsing to the following REST endpoint on Mainnet:

[https://rest.cronos.org/cosmos/bank/v1beta1/params](https://rest.cronos.org/cosmos/bank/v1beta1/params)/
[https://rest.cronos.com/cosmos/bank/v1beta1/params](https://rest.cronos.com/cosmos/bank/v1beta1/params)/

```json
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ Below are all the network parameters for the `distribution` module:

There are two main types of rewards

* Block rewards, governed by the [mint](https://docs.cronos.org/~/changes/a4CtpNfKT3gnzLfuEveQ/cronos-chain-protocol/module_overview#mint) module; and
* [Transaction fees bonus](https://docs.cronos.org/~/changes/a4CtpNfKT3gnzLfuEveQ/cronos-chain-protocol/module_overview#transaction-fees-bonus).
* Block rewards, governed by the [mint](https://docs.cronos.com/cronos-chain-protocol/module_overview#mint) module; and
* [Transaction fees bonus](https://docs.cronos.com/cronos-chain-protocol/module_overview#transaction-fees-bonus).

**Block reward**

Expand All @@ -47,7 +47,7 @@ This mechanism aims to incentivize non-empty block proposals, better networking

**Community tax**

The `community_tax` is the tax rate to the reward obtained by the validator. Specifically, part of the reward will be taxed and send to the community pool. The funds in the community pool can be withdrawn by submitting a community pool spend proposal with the [gov module](https://docs.cronos.org/~/changes/a4CtpNfKT3gnzLfuEveQ/cronos-chain-protocol/module_overview#gov).
The `community_tax` is the tax rate to the reward obtained by the validator. Specifically, part of the reward will be taxed and send to the community pool. The funds in the community pool can be withdrawn by submitting a community pool spend proposal with the [gov module](https://docs.cronos.com/cronos-chain-protocol/module_overview#gov).

Even if the `community_tax` is set to be zero, the balance of the community pool could be non-zero. For example, the truncated remainder in some accounting edge cases will be sent to the community pool as well. Besides that, users can fund the community pool voluntary, and there could be funds allocated to the community pool in the [genesis](../genesis_file.md).

Expand Down Expand Up @@ -111,7 +111,7 @@ $ cronosd query distribution params --output json | jq

The parameters can also be checked by browsing to the following REST endpoint on Mainnet:

[https://rest.cronos.org/cosmos/distribution/v1beta1/params](https://rest.cronos.org/cosmos/bank/v1beta1/params)/
[https://rest.cronos.com/cosmos/distribution/v1beta1/params](https://rest.cronos.com/cosmos/bank/v1beta1/params)/

```json
{
Expand Down
6 changes: 3 additions & 3 deletions cronos-chain-protocol/module_overview/module_feemarket.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ The parameters can also be checked by browsing to the following REST endpoint&#x

{% tabs %}
{% tab title="Mainnet" %}
{% embed url="https://rest.cronos.org/ethermint/feemarket/v1/params" %}
{% embed url="https://rest.cronos.com/ethermint/feemarket/v1/params" %}

```bash
{
Expand All @@ -89,7 +89,7 @@ The parameters can also be checked by browsing to the following REST endpoint&#x
{% tab title="Testnet" %}


{% embed url="https://rest-t3.cronos.org/ethermint/feemarket/v1/params" %}
{% embed url="https://rest-t3.cronos.com/ethermint/feemarket/v1/params" %}



Expand All @@ -115,7 +115,7 @@ We can query the `eth_feeHistory` by JSON-RPC, the result will return the transa


```bash
curl --location --request POST 'https://evm.cronos.org' \
curl --location --request POST 'https://evm.cronos.com' \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc": "2.0",
Expand Down
2 changes: 1 addition & 1 deletion cronos-chain-protocol/module_overview/module_slashing.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ $ cronosd query slashing params --output json | jq

The parameters can also be checked by browsing to the following REST endpoint on Mainnet:

[https://rest.cronos.org/cosmos/slashing/v1beta1/params](https://rest.cronos.org/cosmos/bank/v1beta1/params)
[https://rest.cronos.com/cosmos/slashing/v1beta1/params](https://rest.cronos.com/cosmos/bank/v1beta1/params)

```json
{
Expand Down
4 changes: 2 additions & 2 deletions cronos-x402-facilitator/api-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Network Constants

<table data-full-width="false"><thead><tr><th width="158.76953125">Constant</th><th>Testnet Value</th><th>Mainnet Value</th></tr></thead><tbody><tr><td><strong>Network String</strong></td><td><code>cronos-testnet</code></td><td><code>cronos-mainnet</code></td></tr><tr><td><strong>Chain ID</strong></td><td><code>338</code></td><td><code>25</code></td></tr><tr><td><strong>RPC URL</strong></td><td><code>https://evm-t3.cronos.org</code></td><td><code>https://evm.cronos.org</code></td></tr><tr><td><strong>USDC.E Contract</strong></td><td><code>0xc01efAaF7C5C61bEbFAeb358E1161b537b8bC0e0</code></td><td><code>0xf951eC28187D9E5Ca673Da8FE6757E6f0Be5F77C</code></td></tr><tr><td><strong>Facilitator URL</strong></td><td><a href="https://facilitator.cronoslabs.org/v2/x402"><code>https://facilitator.cronoslabs.org/v2/x402</code></a></td><td>Same (single endpoint)</td></tr></tbody></table>
<table data-full-width="false"><thead><tr><th width="158.76953125">Constant</th><th>Testnet Value</th><th>Mainnet Value</th></tr></thead><tbody><tr><td><strong>Network String</strong></td><td><code>cronos-testnet</code></td><td><code>cronos-mainnet</code></td></tr><tr><td><strong>Chain ID</strong></td><td><code>338</code></td><td><code>25</code></td></tr><tr><td><strong>RPC URL</strong></td><td><code>https://evm-t3.cronos.com</code></td><td><code>https://evm.cronos.com</code></td></tr><tr><td><strong>USDC.E Contract</strong></td><td><code>0xc01efAaF7C5C61bEbFAeb358E1161b537b8bC0e0</code></td><td><code>0xf951eC28187D9E5Ca673Da8FE6757E6f0Be5F77C</code></td></tr><tr><td><strong>Facilitator URL</strong></td><td><a href="https://facilitator.cronoslabs.org/v2/x402"><code>https://facilitator.cronoslabs.org/v2/x402</code></a></td><td>Same (single endpoint)</td></tr></tbody></table>

{% hint style="info" %}
**Note**: Use these contract addresses in the `asset` field of your [payment requirements](api-reference.md#verify-endpoint). Always verify contract addresses match your target network.
Expand All @@ -27,7 +27,7 @@ The facilitator uses one base URL for all networks. Switch between mainnet and t
| Contract Address | `0xc01efAaF7C5C61bEbFAeb358E1161b537b8bC0e0` | `0xf951eC28187D9E5Ca673Da8FE6757E6f0Be5F77C` |

{% hint style="info" %}
**Note**: USDC.e is a 6-decimal token, meaning that 1 USDC.e equals 1,000,000 in its smallest unit. On Cronos Testnet, use the [**faucet**](https://faucet.cronos.org/) to get _devUSDC.e_ for testing.
**Note**: USDC.e is a 6-decimal token, meaning that 1 USDC.e equals 1,000,000 in its smallest unit. On Cronos Testnet, use the [**faucet**](https://faucet.cronos.com/) to get _devUSDC.e_ for testing.
{% endhint %}

## API Endpoints
Expand Down
4 changes: 2 additions & 2 deletions cronos-x402-facilitator/quick-start-for-buyers.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This section explains how buyers (wallets, AI agents, or applications) can gener

* Cronos-compatible wallet with private key or browser wallet extension
* _USDC.E_ token balance (see [Network Constants](api-reference.md#network-constants) for contract addresses)
* For Cronos Testnet, you can obtain _devUSDC.e_ tokens from the [faucet](https://faucet.cronos.org/) for testing purposes
* For Cronos Testnet, you can obtain _devUSDC.e_ tokens from the [faucet](https://faucet.cronos.com/) for testing purposes

### Integration Steps <a href="#integration-steps" id="integration-steps"></a>

Expand Down Expand Up @@ -62,7 +62,7 @@ async function payForResource(resourceUrl, wallet) {
// Example usage
async function main() {
const privateKey = process.env.PRIVATE_KEY;
const provider = new ethers.JsonRpcProvider('https://evm-t3.cronos.org');
const provider = new ethers.JsonRpcProvider('https://evm-t3.cronos.com');
const wallet = new ethers.Wallet(privateKey, provider);

const resourceUrl = 'https://seller-api.example.com/api/premium-data';
Expand Down
2 changes: 1 addition & 1 deletion cronos-x402-facilitator/quick-start-for-sellers.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,4 @@ See [Verify Endpoint](api-reference.md#verify-endpoint) and [Settle Endpoint](ap
#### **6. Monitor Transactions**

* Check facilitator response for `txHash` and `blockNumber`
* View on Cronos Block Explorer: `https://explorer.cronos.org/testnet/tx/[txHash]`
* View on Cronos Block Explorer: `https://explorer.cronos.com/testnet/tx/[txHash]`
Loading