indy-sdk | official SDK for Hyperledger Indy | Blockchain library
kandi X-RAY | indy-sdk Summary
kandi X-RAY | indy-sdk Summary
This is the official SDK for Hyperledger Indy, which provides a distributed-ledger-based foundation for self-sovereign identity. Indy provides a software ecosystem for private, secure, and powerful identity, and the Indy SDK enables clients for it. The major artifact of the SDK is a C-callable library; there are also convenience wrappers for various programming languages and Indy CLI tool. All bugs, stories, and backlog for this project are managed through Hyperledger's Jira in project IS (note that regular Indy tickets are in the INDY project instead...). Also, make sure to join us on Hyperledger's Rocket.Chat at #indy-sdk to discuss. You will need a Linux Foundation login to get access to these channels.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of indy-sdk
indy-sdk Key Features
indy-sdk Examples and Code Snippets
Community Discussions
Trending Discussions on indy-sdk
QUESTION
I am currently trying to write a revocation registry definition (revRegDef) to a Hyperledger Indy pool as shown in the Indy Getting Started. The workflow is like this:
- create a schema
- using the schemaId, create a credential definition (credDef)
- using the credDefId, create a revRegDef
Since I need to use Java, i added the appropriate requests to the ledger to the Java Sample, i uploaded my modified version here.
Creating the schema and credDef works fine, but when I send the last request, i get the following error message:
...ANSWER
Answered 2021-Oct-26 at 16:31Edit: while my old answer worked, it only was a workaround and complete bs.. the following should be the correct way of creating credential schema, credential definition and revocation registry definition.
QUESTION
I read https://github.com/hyperledger/indy-sdk/blob/master/docs/getting-started/indy-walkthrough.md and https://github.com/hyperledger/indy-node/blob/master/docs/source/auth_rules.md.
I think Trust Anchor
, ENDORSER
are have the same role, but I don't know the difference.
ANSWER
Answered 2021-Oct-15 at 12:26From an SDK point of view Trust Anchor equals Endorser, meaning that a Trust Anchor is fact an Endorser, but in a broader sense and looking up the Sovrin Dictionary a Trust Anchor is an entity like an a Credential Issuer (eg:Government,University,Company ecc..) that is an authoritative institution.
Actually while trying to do some implementation with the Java Wrapper I've seen that in the method buildNymRequestuildNymRequest(String submitterDid,....,String role) if putting in the role="TRUST_ANCHOR" actually it will be translated to ENDORSER in the NYM transaction ( I check the transaction using indyscan https://github.com/Patrik-Stas/indyscan). You may also want to check out my implementation (work in progress) of some operations in Java. https://github.com/caltr98/IndyWorkings
If you've found a better solution on the Trust_Anchor/Endorser debacle please let me know.
QUESTION
I am trying to run the java samples of the Hyperledger Indy SDK. I have cloned the git repository of indy-sdk, built the libindy.so and use the Java Indy library version 1.15.0 (also tried with 1.14.2, 1.16.0-rc-162, same problem). I run the samples with the following command:
...ANSWER
Answered 2020-Dec-13 at 19:11The underlying code used in Indy SDK is outdated in rust lang 1.48.0+. Downgrade the rust lang version to 1.47.0 and build the indy SDK from the source will solve the issue in reference.
QUESTION
I created a new xCode project (swiftUI) and I followed the guide to install the Indy iOS SDK. Link: https://github.com/hyperledger/indy-sdk/blob/master/wrappers/ios/README.md
The pod has been installed correctly and I can call the various functions offered by the SDK.
I would like to perform the following operations in sequence:
- Create a wallet
- Open the wallet
I tried to nest the two operations:
...ANSWER
Answered 2020-Nov-08 at 21:38To solve the problem I imported (inside a new group) the wrapper source files.
QUESTION
I am trying to connect to an existing indy pool
Indy-sdk's pool python wrapper in GitHub doesn't seem to have any information about existing pools, but I'm not sure about it
I wonder if connecting to an existing pool is not possible with indy, or if not, how to connect?
...ANSWER
Answered 2020-Apr-16 at 11:37You can indeed connect to any IndySDK ledger you want. All you need is its genesis file. For instance, here are some Sovrin networks you can connect to:
- Sovrin Mainnet: https://github.com/sovrin-foundation/sovrin/blob/master/sovrin/pool_transactions_live_genesis
- Sovrin Stagingnet: https://github.com/sovrin-foundation/sovrin/blob/master/sovrin/pool_transactions_sandbox_genesis
- Sovrin Buildernet https://github.com/sovrin-foundation/sovrin/blob/master/sovrin/pool_transactions_builder_genesis
Genesis file contains information about network nodes and their bls keys, so your client knows where to connect to them and to verify connection authenticity.
To connect to arbitrary ledger, you just need to supply genesis file to pool.create_pool_ledger_config
and then actually connect to the pool using pool.open_pool_ledger
.
Here's a short example:
QUESTION
Problem:
I have cloned the Hyperledger-Indy SDK repository and then I try to run the nodeJs sample Firstly I issued the command npm run ledger: start
then I issue npm install and then npm run start inside the nodejs folder. After that I got
ANSWER
Answered 2020-Mar-20 at 10:25The problem is caused because you didn't start the pool ledger of hiperledger Indy. I can replicate the problem.
I already installed the docker which contain the ledge,so I use docker for run the pool ledger, using the command:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install indy-sdk
Ubuntu based distributions (Ubuntu 16.04)
RHEL based distributions (Centos)
Windows
MacOS
Android
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page