Update Monero configuration guide

This commit is contained in:
silverpill 2023-03-19 20:31:34 +00:00
parent e3ee144889
commit 28be8dbb31
4 changed files with 37 additions and 16 deletions

View file

@ -107,23 +107,10 @@ An HTTP server will be needed to handle HTTPS requests. See the example of [ngin
See [guide](./docs/onion.md).
### Monero
### Blockchain integrations
Install Monero node or choose a [public one](https://monero.fail/).
Configure and start [monero-wallet-rpc](https://monerodocs.org/interacting/monero-wallet-rpc-reference/) daemon. Add `disable-rpc-login=1` to your `monero-wallet-rpc` config (currently RPC auth is not supported in Mitra).
Create a wallet for your instance.
Add blockchain configuration to `blockchains` array in your configuration file.
### Ethereum
Install Ethereum client or choose a JSON-RPC API provider.
Deploy contracts on the blockchain. Instructions can be found at https://codeberg.org/silverpill/mitra-contracts.
Add blockchain configuration to `blockchains` array in your configuration file.
- [Monero](./docs/monero.md)
- [Ethereum](./docs/ethereum.md)
## Development

View file

@ -0,0 +1,14 @@
# https://monerodocs.org/interacting/monero-wallet-rpc-reference/
daemon-address=http://example.tld:18081
untrusted-daemon=1
non-interactive=1
rpc-bind-port=18082
disable-rpc-login=1
wallet-dir=/var/lib/monero-wallet/wallet
log-file=/var/lib/monero-wallet/wallet-rpc.log
log-level=0

7
docs/ethereum.md Normal file
View file

@ -0,0 +1,7 @@
# Ethereum integration
Install Ethereum client or choose a JSON-RPC API provider.
Deploy contracts on the blockchain. Instructions can be found at https://codeberg.org/silverpill/mitra-contracts.
Add blockchain configuration to `blockchains` array in your configuration file.

13
docs/monero.md Normal file
View file

@ -0,0 +1,13 @@
# Monero integration
Install Monero node or choose a [public one](https://monero.fail/).
Install and configure [monero-wallet-rpc](https://monerodocs.org/interacting/monero-wallet-rpc-reference/) service. Add `disable-rpc-login=1` to your `monero-wallet-rpc` configuration file (currently RPC auth is not supported in Mitra). See [example](../contrib/monero/wallet.conf).
Start `monero-wallet-rpc`. Create a wallet for your instance:
```
mitractl create-monero-wallet "mitra-wallet" "passw0rd"
```
Add blockchain configuration to `blockchains` array in your configuration file.