Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Go SDK Signing Guide

The official Go SDK focuses on constructing request payloads and generating SoDEX-compatible signatures.

GitHub: sodex-go-sdk-public

What the SDK Covers

  • EIP-712 domain construction

  • payloadHash generation

  • signature-type prefixes

  • spot and perps signer helpers

What the SDK Does Not Cover

  • HTTP clients

  • WebSocket clients

  • retries and reconnects

  • rate-limit scheduling

  • key storage

Core Entry Points

  • common/signer/evm_signer.go

  • spot/signer/signer.go

  • perps/signer/signer.go

Use the spot signer for the spot domain and the perps signer for the futures domain.

Example

Notes

  • The returned signature already includes the SoDEX signature-type prefix.

  • The timestamp nonce is suitable for this single-call example. For repeated or concurrent requests, coordinate unique nonces per signing address as described in API Keys and Nonces.

  • The SDK marshals the request payload before hashing, so your custom clients should avoid mutating field order or names when reimplementing signing outside the SDK.

Trading APIREST API

Last updated