Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.0xkey.io/llms.txt

Use this file to discover all available pages before exploring further.

The official Go SDK github.com/0xkey-io/sdk-go targets server-side integrations: Company Wallets, delegated access, OTP backends, wallet automation, and chain-specific signing examples.
Embedded Wallets in browser apps use React Wallet Kit or @0xkey-io/core. Use Go when your signing logic runs on a trusted backend.

Status

ItemStatus
Published module (go get)Supportedv0.1.0+
Generated API clientSupported
Examples (OTP, delegated access, signing)Supported
Parity with every TypeScript helperPartial — prefer TypeScript server SDK for Next.js proxies

Quick install

go get github.com/0xkey-io/sdk-go@latest
Getting started walks through API keys, Whoami, and local api.0xkey.com configuration.

Capabilities

AreaGo SDK
API key authenticationYes
Wallet / policy / user managementYes
Sign transaction / raw payloadYes
Email OTP with HPKE (pkg/enclave_encrypt)Yes
Delegated access setupYes (example)
Auth Proxy replacementNo — use TypeScript or HTTP for proxy patterns
React / browser sessionsNo — use @0xkey-io/core

Sub-packages

PackagePurpose
pkg/apikeyKey generation and request signing
pkg/enclave_encryptHPKE encryption to Signer enclave
pkg/cryptoSession JWT and OTP token verification
pkg/proofsNitro attestation verification
pkg/store/local~/.config/0xkey/keys/ storage
pkg/api/clientGenerated go-swagger client

Examples (repository)

WorkflowPath
Getting started — Whoamiexamples/whoami/
Email OTP (HPKE)examples/email_otp/
Delegated accessexamples/delegated_access/
Sign transaction / raw payloadexamples/signing/
Ethereum / Solana tx managementexamples/transaction_management/
go-ethereum BindSignerexamples/go-ethereum/
Wallet create / import / exportexamples/wallets/
Generate API keyexamples/apikey/

API reference


TypeScript alternative

Node.js backends can use @0xkey-io/sdk-server with the same API key model and built-in Express/Next proxies.