Skip to content

Commit

Permalink
GITBOOK-198: change request with no subject merged in GitBook
Browse files Browse the repository at this point in the history
  • Loading branch information
lezzokafka authored and gitbook-bot committed Jan 22, 2024
1 parent 307745d commit d160e72
Show file tree
Hide file tree
Showing 11 changed files with 53 additions and 19 deletions.
Binary file added .gitbook/assets/image (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/image (2).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/image (3).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/image (4).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 46 additions & 12 deletions block-explorers/block-explorer-and-api-keys.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,66 @@

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

{% tab title="Testnet" %}
* [https://explorer.cronos.org/testnet](https://explorer.cronos.org/testnet)
* **"Cronos Testnet Explorer"** - [https://explorer.cronos.org/testnet](https://explorer.cronos.org/testnet)
* [https://cronos.org/explorer/testnet3](https://cronos.org/explorer/testnet3)
{% 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.org`

### **CronosCreating API Keys on Cronoscan**
### Creating Account and Getting API Key **Cronso Explorer**

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 five calls per second per IP. Users need to [register](https://cronoscan.com/register) for a CronoScan account to create an API key.\
After registration, a CronoScan user account will have a quota of up to three API keys.
The Cronos Explorer Developer APIs are designed to provide accessible and consistent Cronos data to the Cronos community. 

On the [CronoScan user dashboard](https://cronoscan.com/myaccount), select “**API-KEYs**” in the left column or go to [https://cronoscan.com/myapikey](https://cronoscan.com/myapikey).
As a means to provide equitable access to blockchain data, we've developed the Cronos Developer APIs to empower developers with direct access to Cronos's blockchain data and services via `GET/POST` requests.

![drawing](assets/myapikey-page.png)
### 1. Register an Account <a href="#id-1-register-an-account" id="id-1-register-an-account"></a>

Click “**Create a new API-KEY token**”. Then optionally input an \_**AppName** \_ if you wish to.
Head over to the [**Account Registration**](https://explorer.cronos.org/register) page and provide email and password for your account.

![drawing](assets/create-apikey.png)
<figure><img src="../.gitbook/assets/image (1).png" alt=""><figcaption></figcaption></figure>

After the “**API**_**-**_**KEY Token**” is successfully created, a message will show up as per the example below. You can now use the “**API key token**” for your applications on Cronos!
### 2. Verify Your Email <a href="#id-2-verify-your-email" id="id-2-verify-your-email"></a>

A verification code will be sent to your email address to verify your sign up request. Fill in on the verification page for completing your registration

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

### 3. Exploring Your Account <a href="#id-3-exploring-your-account" id="id-3-exploring-your-account"></a>

Upon signing in, you will have access to your account dashboard where you can make full use of Cronos explorer's features such as viewing API keys and viewing submitted contract verification status.

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



### 4. Getting an Default API Key <a href="#id-4-getting-an-default-api-key" id="id-4-getting-an-default-api-key"></a>

From your Account Dashboard, click on label **My API Keys**. From there, you may view your API Keys. By Default, each Cronos Explorer account will assign a default API Key on registration completed.



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

### 5. Using APIs <a href="#id-5-using-apis" id="id-5-using-apis"></a>

Once you have obtained your API key, you can fetch data from the provided endpoints.

_Example:_

```
curl --request GET 'https://explorer-api.cronos.org/mainnet/api/v1/{module}/{action}?apikey={your_apikey}
```



### API Documentation&#x20;

Please visit [https://explorer-api-doc.cronos.org/mainnet/](https://explorer-api-doc.cronos.org/mainnet/) for API documentation.

![](<../.gitbook/assets/image (1) (1) (1).png>)
2 changes: 1 addition & 1 deletion cronos-chain-protocol/chain-details/technical-glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A | [B](technical-glossary.md#b) | [C](technical-glossary.md#c) | [D](technical-glossary.md#d) | [E](technical-glossary.md#e) | [F](technical-glossary.md#f) | [G](technical-glossary.md#g) | [H](technical-glossary.md#h) | [I](technical-glossary.md#i) | [J](technical-glossary.md#j) | K | [L](technical-glossary.md#l) | [M](technical-glossary.md#m) | [N](technical-glossary.md#n) | O | [P](technical-glossary.md#p) | [Q](technical-glossary.md#q) | [R](technical-glossary.md#r) | [S](technical-glossary.md#s) | [T](technical-glossary.md#t) | [U](technical-glossary.md#u) | [V](technical-glossary.md#v) | W | X | Y | Z


***

#### B

Expand Down
4 changes: 2 additions & 2 deletions cronos-chain-protocol/module_overview/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ The following tables show overall effects on different configurations of the sla
| Constraints | Value has to be a positive integer | Value has to be positive | Value has to be a positive integer |
| Sample configuration | `2000` (2000 blocks) | `0.5` (50%) | `3600s` (1 hour) |


***

| | `slash_fraction_double_sign` | `slash_fraction_downtime` |
| -------------------- | ------------------------------------ | ------------------------------------ |
Expand Down Expand Up @@ -900,7 +900,7 @@ The following tables show overall effects on different configurations of the sta
| Constraints | N/A | Value has to be positive | Value has to be a positive |
| Sample configuration | `basetcro` | `100` (50%) | `7` |
***
| | `max_validators` | `unbonding_time` |
| -------------------- | ------------------------------------ | ------------------------------------ |
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 @@ -139,7 +139,7 @@ The following tables show overall effects on different configurations of the sla
| Constraints | Value has to be a positive integer | Value has to be positive | Value has to be a positive integer |
| Sample configuration | `2000` (2000 blocks) | `0.5` (50%) | `3600s` (1 hour) |


***

| | `slash_fraction_double_sign` | `slash_fraction_downtime` |
| -------------------- | ------------------------------------ | ------------------------------------ |
Expand Down
2 changes: 1 addition & 1 deletion cronos-chain-protocol/module_overview/module_staking.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ The following tables show overall effects on different configurations of the sta
| Constraints | N/A | Value has to be positive | Value has to be a positive |
| Sample configuration | `basetcro` | `100` (50%) | `7` |
***
| | `max_validators` | `unbonding_time` |
| -------------------- | ------------------------------------ | ------------------------------------ |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Cronos Safe smart contracts were deployed using a deterministic deployment proxy

The addresses of deployed contracts can be found in Gnosis Safe deployments repository (https://github.com/safe-global/safe-deployments/tree/main/src/assets/v1.3.0). The smart contracts deployed to Cronos mainnet have been verified on Cronoscan.


***

## Resources

Expand Down
Loading

0 comments on commit d160e72

Please sign in to comment.