• Stars
    star
    497
  • Rank 88,652 (Top 2 %)
  • Language
    Go
  • License
    Other
  • Created about 4 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Cronos POS Chain⛓: Croeseid Testnet and beyond development

Crypto.org Chain


Table of Contents

1. Description

Crypto.org Chain is a blockchain application built using Cosmos SDK and Tendermint, intended as a backbone for some of the existing and future Crypto.org ecosystem.

2. Contributing

Please abide by the Code of Conduct in all interactions, and the contributing guidelines when submitting code.

3. License

Apache 2.0

4. Documentation

Technical documentation can be found in this Github repository (you can read it in this hosted version).

5. Build full node

# COSMOS_BUILD_OPTIONS=rocksdb make build
make build

By default, the command will build a binary with Mainnet configurations.

To build with different network, provided NETWORK variable to make command

NETWORK=testnet make build

1. Nix

Nix is a (cross-language) package manager for reproducible builds. On Linux and macOS, you can install it as follows (on Windows 10, you can possibly use the Windows Subsystem for Linux):

$ curl -L https://nixos.org/nix/install | sh

If you're using a recent Mac with a T2 chip, you might need to check nix macos installation when the command above is not working in your environment.

You can then run:

$ make chaindImage

Which will build a docker image that contains the full node binary.

Optionally, you can also use a binary cache to speed up the build process:

$ nix-env -iA cachix -f https://cachix.org/api/v1/install
$ cachix use crypto-org-chain

6. Start a local Development Network and Node

Please follow this documentation to run a local devnet.

7. Send Your First Transaction

After setting the local devnet, you may interact with your local blockchain by following this documentation.

8. Testing

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

  • unit tests: make test
  • simulations: make test-sim-* (e.g. make test-sim-nondeterminism)
  • integrations tests: make nix-integration-test (see more details in their documentation)

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 --data=./data --config=./integration_tests/configs/default.yaml

get status

pystarport supervisorctl status

stop all

pystarport supervisorctl stop all

10. Useful links

More Repositories

1

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.
Go
290
star
2

chain-docs

Docs for http://github.com/crypto-com/chain-main/
Shell
46
star
3

cassini

Cassini - Cronos Incentivised Testnet
36
star
4

chain-jslib

TypeScript
33
star
5

cronos-docs

Docs for https://github.com/crypto-org-chain/cronos
Shell
27
star
6

awesome

Collections of awesome Crypto.com Chain related projects
20
star
7

cronos-blockscout

Elixir
20
star
8

mainnet

Shell
19
star
9

homebrew-chain-maind

Homebrew formula for https://github.com/crypto-com/chain-main
Ruby
10
star
10

crossfire

🔥 The Crypto.com Chain Mainnet Dry-Run 🔥
9
star
11

testnets

Crypto.com Chain Croeseid Testnets
Shell
8
star
12

cronos-awesome

8
star
13

go-block-stm

block-stm implementation in golang that works with cosmos-sdk
Go
8
star
14

chainlibpy

Tools for Crypto.org Chain wallet management and offline transaction signing
Python
7
star
15

nft-webtool

A web tool example for minting and managing NFT on Crypto.org Chain with Keplr wallet.
TypeScript
6
star
16

cronos-smart-contract-example

JavaScript
4
star
17

cronos-gravity-bridge-docs

Documentation for gravity bridge setup on Cronos
Shell
4
star
18

cronos-testnets

Shell
4
star
19

cronos-mainnet

4
star
20

chain-integration

Crypto.com Chain Integration-related Documentation
Jinja
3
star
21

cosmwasm-plus-plus

CosmWasm smart contracts
Rust
2
star
22

cronos-address-webtool

A webtool to conver between Cronos and Etheruem address
Vue
2
star
23

cronos-moralis-hackathon

Repository for Cronos X Moralis hackathon
TypeScript
2
star
24

crypto.org-transaction-broadcast-example

TypeScript
1
star