Installation
Get polygolem running in 30 seconds.
Install with Go
go install github.com/TrebuchetDynamics/polygolem/cmd/polygolem@latestBuild from source
git clone https://github.com/TrebuchetDynamics/polygolemcd polygolemgo build -o polygolem ./cmd/polygolemVerify
./polygolem version./polygolem healthAs a Go SDK dependency
go get github.com/TrebuchetDynamics/polygolemThen in your code:
import ( "github.com/TrebuchetDynamics/polygolem/pkg/clob" "github.com/TrebuchetDynamics/polygolem/pkg/orderbook" "github.com/TrebuchetDynamics/polygolem/pkg/marketresolver" "github.com/TrebuchetDynamics/polygolem/pkg/bridge" "github.com/TrebuchetDynamics/polygolem/pkg/pagination" "github.com/TrebuchetDynamics/polygolem/pkg/stream")Dependencies
Polygolem only pulls in what it needs:
cobra+viper— CLI routing and configgo-ethereum/crypto— ECDSA signing (auth package only)gorilla/websocket— WebSocket (stream package only)golang.org/x/crypto— keccak256
No external Polymarket SDKs. All types stolen from reference repos, not vendored.