github.com/Finschia/ostracon@v1.1.5/README.md (about)

     1  # Ostracon
     2  
     3  ![example workflow](https://github.com/Finschia/ostracon/actions/workflows/build.yml/badge.svg)
     4  ![example workflow](https://github.com/Finschia/ostracon/actions/workflows/coverage.yml/badge.svg)
     5  
     6  [Ostracon](docs/en/01-overview.md "Ostracon: A Fast, Secure Consensus Layer for The Blockchain of New Token Economy")
     7  is forked from Tendermint Core [v0.34.8](https://github.com/tendermint/tendermint/tree/v0.34.8) on 2021-03-15.
     8  And we synced up with Tendermint-[v0.34.24](https://github.com/tendermint/tendermint/tree/v0.34.24) on 2023-07-24.
     9  
    10  **Node**: Requires [Go 1.20+](https://golang.org/dl/)
    11  
    12  **Warnings**: Initial development is in progress, but there has not yet been a stable.
    13  
    14  [](docs/en/01-overview.md)
    15  
    16  # Quick Start
    17  
    18  ## git clone
    19  ```shell
    20  git clone https://github.com/Finschia/ostracon.git
    21  # or
    22  git clone git@github.com:Finschia/ostracon.git
    23  ```
    24  
    25  ## Local Standalone
    26  **Build**
    27   ```sh
    28   make build     # go help build
    29   make install   # go help install
    30   ```
    31  
    32  **Run**
    33   ```sh
    34   ostracon init
    35   ostracon node --proxy_app=kvstore                # Run a node
    36   ```
    37  
    38  Before running it, don't forget to cleanup the old files:
    39   ```sh
    40   # Clear the build folder
    41   rm -rf ~/.ostracon
    42   ```
    43  
    44  **Visit with your browser**
    45  * Node: http://localhost:26657/
    46  
    47  ## Localnet(4 nodes) with Docker
    48  **Build Docker Image**
    49  
    50  (optionally) Build the linux binary for localnode in ./build
    51   ```sh
    52   make build-localnode
    53   ```
    54  (optionally) Build ostracon/localnode image
    55   ```sh
    56   make build-localnode-docker
    57   ```
    58  
    59  **Run localnet**
    60  
    61  To start 4 nodes
    62   ```sh
    63   make localnet-start
    64   ```
    65  
    66  Before running it, don't forget to cleanup the old files
    67   ```sh
    68   rm -rf ./build/node*
    69   ```
    70  
    71  **Visit with your browser**
    72  * Node: http://localhost:26657/
    73  
    74  ## Linux Docker
    75  **Build Docker Image**
    76  
    77  Build the linux binary
    78   ```sh
    79   make build-linux-docker
    80   ```
    81  
    82  **Run a linux docker node**
    83  
    84  To start a linux node
    85   ```sh
    86   make standalone-linux-docker
    87   ```
    88  
    89  **Visit with your browser**
    90  * Node: http://localhost:26657/