Working tree is now the canonical repo. Off-chain play-money + trustless on-chain (FPMM AMM + CLOB via UMA settlement), AI market factory, creator/social/distribution, mobile shell + push, one-command demo + deploy-kit. Secrets excluded (see ENV-AND-KEYS.md). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
12 lines
501 B
Markdown
12 lines
501 B
Markdown
# mana
|
|
a Discord bot for Oracle
|
|
|
|
## Security — key storage
|
|
|
|
Per-user Predikt API keys registered via `/register` are stored in `keys.json`
|
|
(written by `src/storage.ts`, keyed by user id) in **plaintext**. This file is
|
|
git-ignored and must **never** be committed. The bot's working directory must
|
|
**not** be world-readable: keep it owned by the bot's service user and lock down
|
|
permissions (e.g. `chmod 700` the directory / `chmod 600 keys.json`). Anyone who
|
|
reads this file can trade as your users.
|