A simple tool to calculate the quorum for OASIS TCs (definitely JavaScript-free)
See here how to build.
Create an initial config file.
cp docs/example-oqcd.toml oqcd.toml
Do the initial database migration.
OQC_DB_MIGRATE=true ./bin/oqcd
Extract the password of admin
. Use it to log in.
grep -oP 'user=admin.+password=\K[0-9a-zA-Z]+' oqcd.log
The sessions are signed with a key. To have sessions that survive restaring oqcd you need to store the signing secret into the config file.
sed -i -e "s|^#secret =.*|secret = \"$(grep -oP 'session key.+secret=\K[0-9a-f]+' oqcd.log)\"|" \
-e 's|^#\[sessions\]|[sessions]|' oqcd.toml
Starting
./bin/oqcd