mirror of
https://github.com/hanzoai/reward.git
synced 2026-11-17 11:54:10 +00:00
Programs of rules over a typed event catalog under five pillars, claims that staff approve, reject or reverse, an append-only points ledger with lifetime and redeemable balances, levels, badges, budgets and caps, a legacy backfill, public profiles with a live README badge, and the seed program. Every act is written once: claims, steps and ledger rows are inserted under hashed ids by a conditional insert, so there is no read-modify-write and no transaction. Credit goes through commerce's POST /v1/billing/credit only. Claude-Session: https://claude.ai/code/session_015XYKLnBbrbajqj1GpRydF8
60 lines
2.3 KiB
AMPL
60 lines
2.3 KiB
AMPL
module github.com/hanzoai/reward
|
|
|
|
go 1.27.1
|
|
|
|
require (
|
|
github.com/hanzoai/authz v1.10.47
|
|
github.com/hanzoai/orm v0.6.44
|
|
github.com/zap-proto/zip v1.37.3
|
|
)
|
|
|
|
require (
|
|
github.com/andybalholm/brotli v1.2.1 // indirect
|
|
github.com/cenkalti/backoff v2.2.1+incompatible // indirect
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
|
github.com/cloudflare/circl v1.6.3 // indirect
|
|
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/gofiber/schema v1.7.1 // indirect
|
|
github.com/gofiber/utils/v2 v2.0.4 // indirect
|
|
github.com/golang-jwt/jwt/v5 v5.3.1 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/gorilla/rpc v1.2.1 // indirect
|
|
github.com/grandcat/zeroconf v1.0.0 // indirect
|
|
github.com/hanzoai/csqlite v0.1.0 // indirect
|
|
github.com/hanzoai/dbx v1.17.2 // indirect
|
|
github.com/hanzoai/sqlcipher v0.1.0 // indirect
|
|
github.com/hanzoai/sqlite v0.3.2 // indirect
|
|
github.com/hanzokv/go/v9 v9.22.0 // indirect
|
|
github.com/klauspost/compress v1.18.6 // indirect
|
|
github.com/luxfi/accel v1.2.4 // indirect
|
|
github.com/luxfi/crypto v1.20.2 // indirect
|
|
github.com/luxfi/log v1.5.0 // indirect
|
|
github.com/luxfi/mdns v0.1.1 // indirect
|
|
github.com/luxfi/metric v1.10.0 // indirect
|
|
github.com/luxfi/zap v1.2.7 // indirect
|
|
github.com/mattn/go-colorable v0.1.14 // indirect
|
|
github.com/mattn/go-isatty v0.0.21 // indirect
|
|
github.com/miekg/dns v1.1.72 // indirect
|
|
github.com/ncruces/go-strftime v1.0.0 // indirect
|
|
github.com/philhofer/fwd v1.2.0 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
github.com/tinylib/msgp v1.6.4 // indirect
|
|
github.com/valyala/bytebufferpool v1.0.0 // indirect
|
|
github.com/valyala/fasthttp v1.72.0 // indirect
|
|
github.com/zap-proto/fiber/v3 v3.2.1 // indirect
|
|
github.com/zap-proto/go v1.8.3 // indirect
|
|
github.com/zap-proto/http v0.3.11 // indirect
|
|
github.com/zap-proto/mcp v1.0.5 // indirect
|
|
go.uber.org/atomic v1.11.0 // indirect
|
|
golang.org/x/crypto v0.53.0 // indirect
|
|
golang.org/x/mod v0.36.0 // indirect
|
|
golang.org/x/net v0.56.0 // indirect
|
|
golang.org/x/sync v0.21.0 // indirect
|
|
golang.org/x/sys v0.46.0 // indirect
|
|
golang.org/x/text v0.38.0 // indirect
|
|
golang.org/x/tools v0.45.0 // indirect
|
|
google.golang.org/protobuf v1.36.11 // indirect
|
|
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
|
|
)
|