Nu TX is Go program which authorizes transactions for a specific account following a set of predefined rules.
It is a proof of concept, and for now it only reads from stdin and writes to stdout.
NuTX is a simple in-memory transaction authorizer. It was written with testability and extendability in mind.
- Go 1.16
Project structure (mostly) follows Standard Go Project Layout.
cmd/*
- main application entry pointdocs/*
- additional documentationinternal/authorizer
- authorizer system
- Account creation.
- Transaction authorization for the account.
- Extendable business logic rules.
go build -o authorize cmd/nutx/*
./authorize < operations