# chainmint **Repository Path**: hahs/chainmint ## Basic Information - **Project Name**: chainmint - **Description**: No description available - **Primary Language**: Go - **License**: AGPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-10-07 - **Last Updated**: 2020-12-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # [Chainmint](https://github.com/chainx-org/chainmint) = [Chain](https://chain.com/) + [Tendermint](https://tendermint.com/) Chainmint is based on the tendermint consensus inherited from Chain's UTXO and CVM. It can become a Cosmos Zone in the future, supporting [Chain](https://chain.com) cross-chain functionality. In short:
Chainmint = UTXO + CVM + Tendermint
## Components - [**Chainmint**](https://github.com/chainx-org/chainmint): implements the specific logic of the abci interface. - [**Tendermint**](https://github.com/tendermint/tendermint): consensus module, handles chainmint transaction order. - [**PostgreSql**](https://github.com/postgres/postgres): data storage module. - [**Chainmintcli**](https://github.com/chainx-org/chainmint/tree/master/cmd/chainmintcli): client for communication with chainmint. ## Getting Started ### Prerequisites 1. install Tendermint 2. install postgreSQL ### Build ``` bash make get_vendor_deps cd cmd/chainmint go build cd cmd/chainmintcli go build ``` ### Run #### Chainmint First, configure `user`, `password`, `dbname` and `sslmode` in `chainmint/chain/run.go`: ``` go dbURL = env.String("DATABASE_URL", "user=yourusername password=yourpassword dbname=core sslmode=disable") ``` then execute `chainmint/core/schema.sql` in postgreSql's `core` (i.e., `dbname`) database. Enter `chainmint/cmd/chainmint` and run `./chainmint`. #### Local Tendermint ``` bash ./tendermint init --home ./yourdir ./tendermint node --home ./yourdir ``` #### Chainmintcli ``` bash ./chainmintcli