Identus is a self-sovereign identity (SSI) platform and service suite for verifiable data and digital identity. Built on Cardano, as a distributed ledger, it offers core infrastructure for issuing DIDs (Decentralized identifiers) and verifiable credentials, alongside tools and frameworks to help expand your ecosystem. The complete platform is separated into multiple repositories:
We also have SDKs for other platforms:
We highly recommend you check out the docs :world_map:
You will need the following:
NOTE: The package was renamed from @hyperledger/identus-edge-agent-sdk to @hyperledger/identus-sdk. Modify the scripts if you ready to use the new package accordingly.
npm i @hyperledger/identus-sdk
or
yarn add @hyperledger/identus-sdk
Please make sure that all the requirements are met, then run the following commands:
sh externals/run.sh -x update # To fetch and initialize anoncreds and didcomm submodules
yarn build
In order to run the unitary tests tests simply run yarn test or with coverage:
yarn coverage
Requires you to have Cloud Agent and Mediator running.
To run the tests from root level, simply:
./integration-tests/e2e-tests/run.sh
If you have any issues while building you can try building from docker (this runs exactly the same build):
docker build -t identus-sdk-ts:latest "."
docker run -v $(pwd)/build:/app/build identus-sdk-ts:latest