Skip to content

Commit

Permalink
docs: simplify readme
Browse files Browse the repository at this point in the history
  • Loading branch information
amimart committed Aug 2, 2024
1 parent a61edcb commit 803a2bc
Showing 1 changed file with 8 additions and 42 deletions.
50 changes: 8 additions & 42 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,58 +59,24 @@ All releases can be found [here](https://github.com/axone-protocol/axoned/releas
`axoned` follows the [Semantic Versioning 2.0.0](https://semver.org/) to determine when and how the version changes, and
we also apply the philosophical principles of [release early - release often](https://en.wikipedia.org/wiki/Release_early,_release_often).

## Docker image
## Install

For a quick start, a docker image is officially available on [Docker hub](https://hub.docker.com/r/axone-protocol/axoned).
### From release

```bash
docker pull axone-protocol/axoned:latest
```

### Get the documentation

```bash
docker run axone-protocol/axoned:latest --help
curl https://i.jpillora.com/axone-protocol/axoned! | bash
```

### Query a running network

Example:

```bash
API_URL=https://api.devnet.okp4.network:443/rpc
WALLET=okp41pmkq300lrngpkeprygfrtag0xpgp9z92c7eskm
### From source

docker run axone-protocol/axoned:latest query bank balances $WALLET --chain-id axone-devnet-1 --node $API_URL
```

### Create a wallet

```bash
docker run -v $(pwd)/home:/home axone-protocol/axoned:latest keys add my-wallet --keyring-backend test --home /home
```

### Start a node

Everything you need to start a node and more is explained here: <https://docs.axone.xyz/docs/nodes/run-node>

```bash
MONIKER=node-in-my-name
CHAIN_ID=localnet-axone-1
docker run -v $(pwd)/home:/home axone-protocol/axoned:latest init $MONIKER --chain-id $CHAIN_ID --home /home
make install
```

This will create a home folder, you can then update the `config/genesis.json` with one of this ones : <https://github.com/axone-protocol/axoned/tree/main/chains/>

#### Join a running network
### Using docker

Set `persistent_peers` in `config/config.toml` file.

#### Then start the node

```bash
docker run -v $(pwd)/home:/home axone-protocol/axoned:latest start --home /home
```
docker run -ti --rm axoneprotocol/axoned --help
```

## Developing & contributing
Expand Down

0 comments on commit 803a2bc

Please sign in to comment.