ndid

module
v0.0.0-...-e6fea77 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2018 License: MIT

README

White Paper:

Digital Identity Platform Whitepaper (Draft)

Prerequire

Setup

  1. go get github.com/ndidplatform/ndid
  2. go get -u github.com/tendermint/abci/cmd/abci-cli
  3. cd $GOPATH/src/github.com/ndidplatform/ndid and then go get ./...
  4. go get -u github.com/tendermint/tendermint/cmd/tendermint

Run IdP node

  1. open 4 terminal window
  2. cd $GOPATH/src/github.com/ndidplatform/ndid and then go run abci/server.go tcp://127.0.0.1:46000
  3. tendermint --home ./config/tendermint/IDP unsafe_reset_all && tendermint --home ./config/tendermint/IDP node --consensus.create_empty_blocks=false
  4. cd $GOPATH/src/github.com/ndidplatform/ndid and then go run api/server.go -port :8000 -tenderm 127.0.0.1:45000
  5. test call API curl http://127.0.0.1:8000/identity/cid/1234567890123

Run RP node

  1. open 4 terminal window
  2. cd $GOPATH/src/github.com/ndidplatform/ndid and then go run abci/server.go tcp://127.0.0.1:46001
  3. tendermint --home ./config/tendermint/RP unsafe_reset_all && tendermint --home ./config/tendermint/RP node --consensus.create_empty_blocks=false
  4. cd $GOPATH/src/github.com/ndidplatform/ndid and then go run api/server.go -port :8001 -tenderm 127.0.0.1:45001
  5. test call API curl http://127.0.0.1:8001/identity/cid/1234567890123

Run in Docker

Required

cd docker
docker-compose up

API specs

Testing
  1. run test api for rp silk -silk.url="http://127.0.0.1:8001" api/specs/relying_party/*.silk.md

Directories

Path Synopsis
did
api
idp
rp

Jump to

Keyboard shortcuts

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