Update readme and config example
This commit is contained in:
parent
5b071f050b
commit
2dd5e83d2e
2 changed files with 22 additions and 3 deletions
18
README.md
18
README.md
|
@ -15,7 +15,7 @@ Unique features:
|
||||||
Supported blockchains:
|
Supported blockchains:
|
||||||
|
|
||||||
- Ethereum and other EVM-compatible blockchains.
|
- Ethereum and other EVM-compatible blockchains.
|
||||||
- Monero (WIP).
|
- Monero.
|
||||||
|
|
||||||
Ethereum contracts repo: https://codeberg.org/silverpill/mitra-contracts
|
Ethereum contracts repo: https://codeberg.org/silverpill/mitra-contracts
|
||||||
|
|
||||||
|
@ -147,6 +147,12 @@ su mitra -c "mitractl generate-invite-code"
|
||||||
|
|
||||||
### Commands
|
### Commands
|
||||||
|
|
||||||
|
Print help:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
mitractl --help
|
||||||
|
```
|
||||||
|
|
||||||
Generate RSA private key:
|
Generate RSA private key:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -183,7 +189,7 @@ Remove remote posts and media older than 30 days:
|
||||||
mitractl delete-extraneous-posts 30
|
mitractl delete-extraneous-posts 30
|
||||||
```
|
```
|
||||||
|
|
||||||
Delete attachments that doesn't belong to any post:
|
Delete attachments that don't belong to any post:
|
||||||
|
|
||||||
```
|
```
|
||||||
mitractl delete-unused-attachments 5
|
mitractl delete-unused-attachments 5
|
||||||
|
@ -195,12 +201,18 @@ Generate ethereum address:
|
||||||
mitractl generate-ethereum-address
|
mitractl generate-ethereum-address
|
||||||
```
|
```
|
||||||
|
|
||||||
Update blockchain synchronization starting block:
|
Update synchronization starting block of Ethereum blockchain:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
mitractl update-current-block 2000000
|
mitractl update-current-block 2000000
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Create Monero wallet:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
mitractl create-monero-wallet "mitra-wallet" "passw0rd"
|
||||||
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
[AGPL-3.0](./LICENSE)
|
[AGPL-3.0](./LICENSE)
|
||||||
|
|
|
@ -27,6 +27,7 @@ registrations_open: false
|
||||||
#blocked_instances: []
|
#blocked_instances: []
|
||||||
|
|
||||||
# Blockchain integrations
|
# Blockchain integrations
|
||||||
|
# Multiple configuration are currently not allowed.
|
||||||
# Chain metadata for EVM chains can be found at https://github.com/ethereum-lists/chains
|
# Chain metadata for EVM chains can be found at https://github.com/ethereum-lists/chains
|
||||||
# Signing key for ethereum integration can be generated with `mitractl generate-ethereum-address`
|
# Signing key for ethereum integration can be generated with `mitractl generate-ethereum-address`
|
||||||
#blockchains:
|
#blockchains:
|
||||||
|
@ -44,6 +45,12 @@ registrations_open: false
|
||||||
# signing_key: null
|
# signing_key: null
|
||||||
# chain_sync_step: 1000
|
# chain_sync_step: 1000
|
||||||
# chain_reorg_max_depth: 10
|
# chain_reorg_max_depth: 10
|
||||||
|
# - chain_id: monero:mainnet
|
||||||
|
# daemon_url: 'http://opennode.xmr-tw.org:18089'
|
||||||
|
# wallet_url: 'http://127.0.0.1:18083'
|
||||||
|
# wallet_name: mitra
|
||||||
|
# wallet_password: mitra
|
||||||
|
|
||||||
|
|
||||||
# IPFS integration
|
# IPFS integration
|
||||||
#ipfs_api_url: 'http://127.0.0.1:5001'
|
#ipfs_api_url: 'http://127.0.0.1:5001'
|
||||||
|
|
Loading…
Reference in a new issue