testnet

module
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: MIT

README

TRISA TestNet

An integration and test platform for the TRISA Travel Rule Implementation.

The TRISA test net is comprised of the following:

  • TRISA Directory Service - a user interface to explore the TRISA Global Directory Service and register to become a TRISA member
  • TestNet Demo - a demo site to show TRISA interactions between “robot” VASPs that run in the TestNet

For more details, see the TRISA Documentation, or check out the TRISA codebase.

Monorepo Organization

This repository consists of a monorepo that is designed to facilitate all TRISA test net operations. The organization of the repository is as follows:

  • cmd: binary executables compiled with go
  • containers: Dockerfiles for various containers deployed to the test net
  • fixtures: initial or example data used to bootstrap services
  • lib: library modules in other languages (e.g. Python)
  • manifests: kubernetes manifests for our GKE cluster
  • pkg: Go code and implementations for various services
  • proto: Protocol Buffer definitions for the services
  • scripts: Shell, bash, and Python scripts used for local testing
  • web: front-end web applications, either pure HTML or npm based

Generate Protocol Buffers

To regenerate the Go and Python code from the protocol buffers:

$ go generate ./...

The go generate directives are stored in pkg/rvasp/pb/v1/pb.go. The directives create grpc Go in the pb package and grpc Python in the rvaspy module.

Directories

Path Synopsis
cmd
pkg
rvasp/jsonpb
* Package jsonpb uses protojson (not the deprecated jsonpb module) to set defaults for * marshaling and unmarshaling rVASP protobuf messages to and from JSON format.
* Package jsonpb uses protojson (not the deprecated jsonpb module) to set defaults for * marshaling and unmarshaling rVASP protobuf messages to and from JSON format.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL