1
- # W3Registrar Setup Guide
1
+ # W3Registrar backend setup
2
2
3
3
## Prerequisites
4
4
- Redis server (not needed for Docker setup)
@@ -22,6 +22,7 @@ docker compose up -d
22
22
## 2. Binary Installation
23
23
24
24
1 . Create service user:
25
+
25
26
``` bash
26
27
sudo useradd -r -s /bin/false w3r
27
28
sudo mkdir -p /etc/w3registrar
@@ -31,6 +32,7 @@ sudo chown -R w3r:w3r /etc/w3registrar
31
32
2 . Install binary:
32
33
``` bash
33
34
# Download from releases page
35
+ # https://github.com/rotkonetworks/w3registrar/releases/
34
36
sudo cp w3registrar-* /usr/local/bin/w3registrar
35
37
sudo chown w3r:w3r /usr/local/bin/w3registrar
36
38
sudo chmod 755 /usr/local/bin/w3registrar
@@ -47,7 +49,7 @@ sudo chmod 600 /etc/w3registrar/config.toml
47
49
``` bash
48
50
sudo tee /etc/systemd/system/w3registrar.service << EOF
49
51
[Unit]
50
- Description=W3 Registrar Service
52
+ Description=Identity Registrar Service
51
53
After=network.target redis.service
52
54
53
55
[Service]
@@ -72,7 +74,7 @@ sudo systemctl enable --now w3registrar
72
74
sudo apt install -y build-essential pkg-config libssl-dev git
73
75
74
76
# Build
75
- git clone https://github.com/your-repo /w3registrar.git
77
+ git clone https://github.com/rotkonetworks /w3registrar.git
76
78
cd w3registrar
77
79
cargo build --release
78
80
@@ -82,10 +84,13 @@ cargo build --release
82
84
## Configuration Example
83
85
84
86
``` toml
85
- [watcher ]
86
- endpoint = " wss://dev.rotko.net/people-rococo/"
87
- registrar_index = 0
88
- keystore_path = " ./keyfile"
87
+ [registrar ]
88
+
89
+ [registrar .polkadot ]
90
+ endpoint = " wss://people-polkadot.dotters.network" # people system chain
91
+ registrar_index = 11 # your registrar index
92
+ keystore_path = " ./keyfile_polkadot" # IdentityJudgement proxy private key
93
+ accountid = " 1Ard..." # registrar public key
89
94
90
95
[websocket ]
91
96
host = " 127.0.0.1"
@@ -96,10 +101,10 @@ host = "redis" # Use "redis" for Docker, "127.0.0.1" otherwise
96
101
port = 6379
97
102
98
103
[matrix ]
99
- homeserver = " https://matrix.org "
104
+ homeserver = " https://matrix.beeper.com "
100
105
username = " regbot"
101
106
password = " your-password"
102
- security_key = " your-security-key "
107
+ security_key = " EsTg A8Uh 9yFK 3uN1 16s6 WVDA gHLU kEid j9F1 iHt6 5V3u XSPs "
103
108
admins = [" @admin:matrix.org" ]
104
109
```
105
110
0 commit comments