Security
How keys, credentials and money are handled.
Custody
Accounts are non-custodial smart contract wallets. For people, the signing key is a passkey that lives in the device's secure hardware and never leaves it. Galactic stores only the public key. Each action is authorized by a signature the server verifies against that key.
API keys
apiKey is your integrator credential. It is sent as Authorization: Bearer … on every request. Treat it as a secret:
- Keep it in an environment variable on a server. Do not commit it.
- Do not put it in a public web bundle if you can avoid it; anyone who finds it acts as your integration. Route calls through your own backend for anything beyond a prototype.
- Rotate it if it leaks.
What the SDK never does
- It never asks for, receives or logs a private key.
- It never sends a transaction without a signature from the account's signer.
- It never stores a secret. The only thing it keeps in browser storage is the passkey credential id, which is not secret.
Reporting a problem
Email the address on galactic.inc. Please do not post vulnerabilities in public issues.