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:
|
||||
|
||||
- Ethereum and other EVM-compatible blockchains.
|
||||
- Monero (WIP).
|
||||
- Monero.
|
||||
|
||||
Ethereum contracts repo: https://codeberg.org/silverpill/mitra-contracts
|
||||
|
||||
|
@ -147,6 +147,12 @@ su mitra -c "mitractl generate-invite-code"
|
|||
|
||||
### Commands
|
||||
|
||||
Print help:
|
||||
|
||||
```shell
|
||||
mitractl --help
|
||||
```
|
||||
|
||||
Generate RSA private key:
|
||||
|
||||
```
|
||||
|
@ -183,7 +189,7 @@ Remove remote posts and media older than 30 days:
|
|||
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
|
||||
|
@ -195,12 +201,18 @@ Generate ethereum address:
|
|||
mitractl generate-ethereum-address
|
||||
```
|
||||
|
||||
Update blockchain synchronization starting block:
|
||||
Update synchronization starting block of Ethereum blockchain:
|
||||
|
||||
```shell
|
||||
mitractl update-current-block 2000000
|
||||
```
|
||||
|
||||
Create Monero wallet:
|
||||
|
||||
```shell
|
||||
mitractl create-monero-wallet "mitra-wallet" "passw0rd"
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
[AGPL-3.0](./LICENSE)
|
||||
|
|
|
@ -27,6 +27,7 @@ registrations_open: false
|
|||
#blocked_instances: []
|
||||
|
||||
# Blockchain integrations
|
||||
# Multiple configuration are currently not allowed.
|
||||
# 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`
|
||||
#blockchains:
|
||||
|
@ -44,6 +45,12 @@ registrations_open: false
|
|||
# signing_key: null
|
||||
# chain_sync_step: 1000
|
||||
# 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_api_url: 'http://127.0.0.1:5001'
|
||||
|
|
Loading…
Reference in a new issue