Skip to content

Nu TX is Go program which authorizes transactions for a specific account following a set of predefined rules

Notifications You must be signed in to change notification settings

fernandez14/nutx-authorizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nutx

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.

Overview

NuTX is a simple in-memory transaction authorizer. It was written with testability and extendability in mind.

Requirements

  • Go 1.16

Structure of Go packages

Project structure (mostly) follows Standard Go Project Layout.

  • cmd/* - main application entry point
  • docs/* - additional documentation
  • internal/authorizer - authorizer system

Features

  • Account creation.
  • Transaction authorization for the account.
  • Extendable business logic rules.

Build and run

go build -o authorize cmd/nutx/*

./authorize < operations

About

Nu TX is Go program which authorizes transactions for a specific account following a set of predefined rules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published