forked from crypto-org-chain/cronos
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'genesis-v1.0.0' into cronos-v1.0.15
Signed-off-by: ZENODE <[email protected]>
- Loading branch information
Showing
20 changed files
with
395,340 additions
and
249 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,160 +1,35 @@ | ||
<!-- | ||
parent: | ||
order: false | ||
--> | ||
|
||
|
||
<div align="center"> | ||
<h1> <img src="./assets/cronos.svg" alt="Cronos Logo" width="300px" /> </h1> | ||
</div> | ||
<br /> | ||
<h1 align="center"> | ||
GenesisL1 Mainnet (Cronos fork) | ||
</h1> | ||
|
||
<p align="center"> | ||
<a href="https://github.com/crypto-org-chain/cronos/actions/workflows/build.yml"><img label="Build Status" src="https://github.com/crypto-org-chain/cronos/actions/workflows/build.yml/badge.svg" /></a> | ||
<a href="https://codecov.io/gh/crypto-org-chain/cronos"><img label="Code Coverage" src="https://codecov.io/gh/crypto-org-chain/cronos/branch/main/graph/badge.svg" /></a> | ||
<a href="https://discord.gg/pahqHz26q4"><img label="Discord" src="https://img.shields.io/discord/783264383978569728.svg?color=7289da&label=Cronos&logo=discord&style=flat-square" /></a> | ||
<img src="https://github.com/zenodeapp/genesisL1/assets/108588903/be368fa2-a154-48a6-b04b-8eb452b02033" alt="GenesisL1" width="150" height="150"/> | ||
</p> | ||
|
||
## Table of Contents | ||
|
||
- [Table of Contents](#table-of-contents) | ||
- [1. Description](#1-description) | ||
- [2. Contributing](#2-contributing) | ||
- [3. License](#3-license) | ||
- [4. Documentation](#4-documentation) | ||
- [5. Build full node](#5-build-full-node) | ||
- [6. Start a local Development Network and Node](#6-start-a-local-development-network-and-node) | ||
- [7. Send Your First Transaction](#7-send-your-first-transaction) | ||
- [8. Testing](#8-testing) | ||
- [9. Pystarport Quick Start](#9-pystarport-quick-start) | ||
- [install latest python (for linux)](#install-latest-python-for-linux) | ||
- [set path (for linux or for mac)](#set-path-for-linux-or-for-mac) | ||
- [install pystarport](#install-pystarport) | ||
- [quick start](#quick-start) | ||
- [get status](#get-status) | ||
- [stop all](#stop-all) | ||
- [10. Useful links](#10-useful-links) | ||
|
||
<a id="description" /> | ||
|
||
## 1. Description | ||
|
||
**Cronos** is the Crypto.org EVM chain that aims to massively scale the DeFi ecosystem. | ||
|
||
<a id="contributing" /> | ||
|
||
## 2. Contributing | ||
|
||
Please abide by the [Code of Conduct](CODE_OF_CONDUCT.md) in all interactions, | ||
and the [contributing guidelines](CONTRIBUTING.md) when submitting code. | ||
|
||
<a id="license" /> | ||
|
||
## 3. License | ||
|
||
[Apache 2.0](./LICENSE) | ||
|
||
<a id="documentation" /> | ||
|
||
## 4. Documentation | ||
|
||
[Technical documentation](http://cronos.org/docs). | ||
|
||
<a id="build" /> | ||
|
||
## 5. Build full node | ||
|
||
```bash | ||
# COSMOS_BUILD_OPTIONS=rocksdb make install | ||
make build | ||
``` | ||
|
||
<a id="start-local-full-node" /> | ||
|
||
## 6. Start a local Development Network and Node | ||
|
||
Please follow this [documentation](https://cronos.org/docs/getting-started/local-devnet.html#devnet-running-latest-development-node) to run a local devnet. | ||
|
||
<a id="send-first-transaction" /> | ||
|
||
## 7. Send Your First Transaction | ||
|
||
After setting the local devnet, you may interact with the your local blockchain by following this [documentation](https://cronos.org/docs/getting-started/local-devnet.html#interact-with-the-chain). | ||
|
||
<a id="testing" /> | ||
|
||
## 8. Testing | ||
|
||
There are different tests that can be executed in the following ways: | ||
|
||
- unit tests: `make test` | ||
- [integration tests](./docs/integration-test.md) | ||
<a id="pystarport" /> | ||
|
||
## 9. Pystarport Quick Start | ||
|
||
you can install pystarport to manage nodes for development. | ||
|
||
### install latest python (for linux) | ||
|
||
python version should be 3.8 or above. | ||
you can install python like this. | ||
|
||
``` | ||
git clone [email protected]:python/cpython.git | ||
cd cpython | ||
git checkout tags/v3.9.5 | ||
./configure | ||
make | ||
sudo make install | ||
``` | ||
|
||
### set path (for linux or for mac) | ||
in some cases, if there are multiple python versions, pystarport cannot be found. | ||
then adjust python path. | ||
also `$HOME/.local/bin` should be included to the PATH. | ||
|
||
``` | ||
export PATH=/usr/local/bin:$HOME/.local/bin:$PATH | ||
``` | ||
|
||
### install pystarport | ||
|
||
``` | ||
python3 -m pip install pystarport | ||
``` | ||
|
||
### quick start | ||
|
||
run two nodes devnet | ||
|
||
``` | ||
pystarport serve --config ./scripts/cronos-devnet.yaml | ||
``` | ||
|
||
### get status | ||
|
||
``` | ||
pystarport supervisorctl status | ||
``` | ||
<p align="center"> | ||
Chain ID <b>genesis_29-2</b> | ||
</p> | ||
|
||
### stop all | ||
<p align="center"> | ||
A source code fork of <b>Cronos</b> and <b>Ethermint</b> | ||
</p> | ||
|
||
``` | ||
pystarport supervisorctl stop all | ||
``` | ||
<p align="center"> | ||
Cosmos SDK <b>v0.46.15</b> | ||
</p> | ||
|
||
--- | ||
|
||
<a id="useful-links" /> | ||
> [!IMPORTANT] | ||
> **For Full-Node Syncing** | ||
> | ||
> If you wish to sync a full node, then you'll have to follow the instructions in the `genesis-evmos` repository first before continuing. This for we were an Evmos-fork before we made the decision to hard fork to Cronos. | ||
## Node requirements | ||
|
||
## 10. Useful links | ||
- 300GB+ good hard drive disk | ||
- 8GB+ RAM | ||
- 4 CPU Threads | ||
- Good Internet Connection | ||
|
||
- [Project Website](http://cronos.org/) | ||
- [Technical Documentation](http://cronos.org/docs) | ||
- Community chatrooms (non-technical): [Discord](https://discord.gg/nsp9JTC) [Telegram](https://t.me/CryptoComOfficial) | ||
- Developer community channel (technical): [![Support Server](https://img.shields.io/discord/783264383978569728.svg?color=7289da&label=Cronos&logo=discord&style=flat-square)](https://discord.gg/pahqHz26q4) | ||
- [Ethermint](https://github.com/evmos/ethermint) by Tharsis | ||
- [Cosmos SDK documentation](https://docs.cosmos.network) | ||
- [Cosmos Discord](https://discord.gg/W8trcGV) | ||
- [Pystarport](https://github.com/crypto-com/pystarport/blob/main/README.md) | ||
## Instructions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.