Skip to content

Commit

Permalink
Add more info
Browse files Browse the repository at this point in the history
  • Loading branch information
fluiderson committed Mar 5, 2024
1 parent 05fac9f commit f4fddfa
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
To compile the daemon, the latest stable Rust compiler version is required. Then run the following command:
```bash
cargo b -r --workspace
```
Compiled binaries may be found in the `target/release` path.

The daemon for Kalatori consists of 2 variants:
- `kalatori` may be used for the Polkadot chain and DOT, its native currency.
- `kalatori-ah` may be used for the Polkadot Asset Hub chain and the USDT (1984) asset.
Expand All @@ -10,3 +16,25 @@ Both variants have almost the same startup environment variables:
- KALATORI_OVERRIDE_RPC: add this variable to allow changing RPC server address in the database.
- KALATORI_DECIMALS: set decimals for the chain native currency (presents only in `kalatori`).
- KALATORI_DESTINATION: a hexadecimal address of the account that the daemon will send all payments to.

For example, a tipical command to run `kalatori` may look like this:
```bash
KALATORI_HOST="127.0.0.1:16726" \
KALATORI_SEED="bottom drive obey lake curtain smoke basket hold race lonely fit walk" \
KALATORI_DATABASE="database.redb" \
KALATORI_RPC="wss://rpc.polkadot.io" \
KALATORI_DECIMALS="12" \
KALATORI_DESTINATION="0xd43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d" \
kalatori
```

And a command to run `kalatori-ah` may look like this:

```bash
KALATORI_HOST="127.0.0.1:16726" \
KALATORI_SEED="bottom drive obey lake curtain smoke basket hold race lonely fit walk" \
KALATORI_DATABASE="database.redb" \
KALATORI_RPC="wss://polkadot-asset-hub-rpc.polkadot.io" \
KALATORI_DESTINATION="0xd43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d" \
kalatori-ah
```

0 comments on commit f4fddfa

Please sign in to comment.