Skip to main content

Market maker start

Follow these steps to connect a quote engine: access, credentials, endpoints, funding, first quote and go-live checks.

1. Get access​

Apply at [email protected] (see Market maker program). Accounts are enabled by Sentico on request.

2. Create an institutional agent​

FIX, Binary Order Entry and FIXP require an institutional_agent with an HMAC credential. A normal api_agent is rejected. The owner wallet signs the authorization.

POST /api/agents/create
Content-Type: application/json
{
"authorization": {
"domain": "app.sentico-labs.xyz",
"appName": "Sentico",
"scheme": "senticore_typed_v2",
"environment": "Arbitrum One",
"chainId": 42161,
"userWalletAddress": "0xOwnerWallet",
"agentPublicKey": "0xGeneratedAgentAddress",
"label": "MM quote engine",
"agentType": "institutional_agent",
"scopes": ["read", "trade", "cancel", "quote", "drop_copy"],
"policy": {},
"expiresAt": 1790000000000,
"authorizationNonce": "7c4a0e4a5d43c4d8c9e2a55b",
"issuedAt": 1760000000000,
"signature": "0x..."
},
"issueInitialCredential": true
}

The response shows apiKeyId, apiSecret and apiPassphrase once. Store them immediately. Signing details are in API agents.

3. Read the connectivity bundle​

Fetch hosts, ports, TLS names, CompIDs and the action-signing chain binding. Do not hardcode them. See Connectivity bundle.

GET /api/v1/fix/connectivity

4. Fund the account​

Deposit USDC only through the Sentico app, or by calling deposit or depositWithPermit on the vault from your own wallet. Plain token transfers and unsupported assets may not be credited. Engine credit follows the confirmed on-chain deposit. See Contract addresses.

Check funding before the first quote:

GET /api/v1/accounts/{engineAccount}/bootstrap?fresh=true
FieldRequirement
balances.freeUsdcMicroCovers the notional of the first bid
syncStatussynced
AsksFree base asset (spot) or free YES/NO shares (outcome markets)

Outcome-market asks sell shares. Create them with a signed Split action (1 USDC becomes 1 YES and 1 NO). There is no mint on fill.

5. Send the first quote​

Sign a QuoteReplace (outcome markets) or SpotQuoteReplace (spot) locally and submit it:

POST /api/v1/bsl/orders/compact
Content-Type: application/x-senticore-order-entry-batch
X-BSL-Result-Mode: ack
X-Senticore-Response-Mode: detailed
Idempotency-Key: quote-1

HTTP 200 with ok: true means the batch was admitted (X-BSL-Result-Mode: ack). It is not a resting-order or fill confirmation. Confirm state through the private stream, drop-copy or GET /api/v1/accounts/{engineAccount}/orders.

6. Go-live checklist​

CheckPass condition
LifecycleOne resting post-only quote, one replace and one cancel appear in drop-copy
NoncesA duplicate nonce is rejected; you re-sign with an unused in-window nonce
IdempotencySame key and body replays; same key and different body conflicts
Cancel-on-disconnectAfter you kill the process, no quote rests
Crash recoveryBootstrap, scoped cancel-all, resume
Gap recoveryAfter a stream gap you replay executions from last_contiguous_seq + 1
ReadinessYour engine pauses when GET /api/v1/readiness returns 503

Start with small post-only quotes. Production uses real collateral.

Common mistakes​

MistakeFix
api_agent on FIX, Binary Order Entry or FIXPUse institutional_agent
TLS SNI api.sentico-labs.xyz for FIXUse the host from the bundle
New SenderCompID on each reconnectKeep it stable
Fast ack treated as a fillReconcile from stream or drop-copy
Only the Idempotency-Key changed after a nonce rejectRe-sign with a new nonce

Next steps​