auth
Connect wallet (signup or recover)
Connect a wallet to Grove by proving ownership via signature.
New wallet: Creates account + server wallet + EOA wallet and returns JWT. Existing wallet: Regenerates the deterministic JWT and returns account details.
The JWT is deterministic: same signing_address + same JWT_SECRET = same token.
Possible outcomes
| Case | Result | is_new_account |
|---|---|---|
| New wallet | Creates account, server wallet, returns new JWT | true |
| Existing account | Returns existing JWT + account details | false |
| Invalid signature | 401 Unauthorized | — |
post/v1/auth/wallet/connect
Request
- Base URLhttps://api.grove.city (the document declares no server; this is the origin it was published from)
- URLhttps://api.grove.city/v1/auth/wallet/connect
- Authnone declared
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.