Skip to content

ProtoconNet/did-endpoint

Repository files navigation

DID-EndPoint

Tooling that automates your Decentralized-Identifier interactions to process DID Auth and VC issuance with holder on Issuer & Verifier implemented in Python.

Identities

An identity is really just someone or something that can sign data or transactions and also receive signed data about itself.

An identity has:

  • An Identifier in the form of a Decentralized ID (DID)

  • A signing key

  • A public key stored on the mitum

Mitum Simulation

Installation

$ python3 setup.py install

If setup.py doesn't work properly, please just install necessary packages with requirements.txt before running setup.py.

pip3 install --upgrade pip

pip3 install -r requirements.txt

[optional] If you have a sentry account, Create a new file (privates.py) in the src/configs if it does not exist.

#src/configs/privates.py

LOG = {
    'sentryURL' : "https://{}@{}.ingest.sentry.io/{}",
}

Prework

You should change host to your domain.

src/config/samples.py

"issuer" :{
	...
	"host":"mitum.securekim.com", # change it
	...
"verifier" :{
	...
	"host":"mitum.securekim.com", # change it

Run

$ python3 src/issuer.py&
$ python3 src/verifier.py&

Postwork

Auto update and refresh for issuer & verifier servers with crontab (everyday at 3AM)

$ crontab -e
	...
	0 3 * * * {Your directory}/did-endpoint/update.sh

TEST

Pre : Run Issuer & Verifier.

For Unit Testing with Local & Network :

$ pytest 

For Client Testing with Issuer & Verifier :

$ python3 holder.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •