All Projects → ndidplatform → ndid-archive

ndidplatform / ndid-archive

Licence: MIT license
simple ndid tendermint app

Programming Languages

go
31211 projects - #10 most used programming language
Gherkin
971 projects
shell
77523 projects

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].