Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/crypto-org-chain/cronos

Cronos is the first Ethereum-compatible blockchain network built on Cosmos SDK technology. Cronos aims to massively scale the DeFi, GameFi, and overall Web3 user community by providing builders with the ability to instantly port apps and crypto assets from other chains while benefiting from low transaction fees, high throughput, and fast finality.
https://github.com/crypto-org-chain/cronos

blockchain cosmos-sdk ethermint evm

Last synced: 3 months ago
JSON representation

Cronos is the first Ethereum-compatible blockchain network built on Cosmos SDK technology. Cronos aims to massively scale the DeFi, GameFi, and overall Web3 user community by providing builders with the ability to instantly port apps and crypto assets from other chains while benefiting from low transaction fees, high throughput, and fast finality.

Awesome Lists containing this project

README

        


Cronos Logo








## 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)

## 1. Description

**Cronos** is the Crypto.org EVM chain that aims to massively scale the DeFi ecosystem.

## 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.

## 3. License

[Apache 2.0](./LICENSE)

## 4. Documentation

[Technical documentation](http://cronos.org/docs).

## 5. Build full node

```bash
# COSMOS_BUILD_OPTIONS=rocksdb make install
make build
```

## 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.

## 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).

## 8. Testing

There are different tests that can be executed in the following ways:

- unit tests: `make test`
- [integration tests](./docs/integration-test.md)

### CI Testing
we use `Nix` as our CI testing environment and use `gomod2nix` to convert go modules into nix packages.
Therefore, to install `gomod2nix` is required:
```
go install github.com/nix-community/gomod2nix@latest
```
And then, you can run:
```
gomod2nix generate
```
to update `gomod2nix.toml` if any go package has changed.

## 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
```

### stop all

```
pystarport supervisorctl stop all
```

---

## 10. Useful links

- [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)