Merge pull request #7 from apache/initial-dta

Initial version of D-TA
tree: ad4b66f6610ff8e7713ff266e60796bd3a2ccde6
  1. cmd/
  2. libs/
  3. pkg/
  4. plugins/
  5. .dockerignore
  6. .gitignore
  7. build-static.sh
  8. build.sh
  9. Dockerfile
  10. Dockerfile-alpine
  11. go.mod
  12. go.sum
  13. LICENSE
  14. lint.sh
  15. NOTICE
  16. open-api.yaml
  17. README.md
  18. test.sh
README.md

Milagro-Custody-DTA


Maintenance

Milagro Custody DTA creates an ecosystem in which service providers can issue and protect secrets. When a node is connected to the network it is able to discover service providers who are able to offer secure long term storage of highly sensitive digital assets. It is written in Go and uses REST services based on the GoKit microservices framework: https://gokit.io/

Linux / MacOS

Click here to down load the binary

To build the code

Clone it and run

$ ./build.sh

Developer Notes

You need to install protobufs

If you change the portobufs definition run

$ protoc -I=. --go_out=. ./docs.proto

To add a new endpoint to the goKit Microservices framework

  1. First define the contract in milagro/pkg/milagroservice/proto.go

Add structs for http transport Add responses to milagro/swagger/swagger.config,yaml

  1. Add and endpoint definition

milagro/pkg/milagroendpoints/endpoints.go

  1. Create a handler factory